Sql limit results

This article is tagged with: Sql limit results and mysql

sql limit results

LIMIT 5

select top 1000 sql server

SELECT TOP 1000 *
FROM Customer;

sql limit to 5 results

SELECT expressions
FROM tables
[WHERE conditions]
[ORDER BY expression [ ASC | DESC ]]
LIMIT number_rows [ OFFSET offset_value ];

This article is tagged with: Sql limit results and mysql