The TOP clause is used to specify the number of records to return, rather than returning the entire dataset. The TOP clause can be very useful on large tables,
where you may only be interested in a subset of the records.
SQL Server Syntax
SQL TOP Example
SELECT TOP 5 * FROM Customers
SELECT TOP number|percent column_name(s)|
The result will be five rows of data from the Customers table.
SELECT TOP 10 PERCENT * FROM Customers
The results will display 10% of data from the Customers table.
Other commands can be used in conjucntion with the TOP clause such as WHERE, ORDER BY to further manipulate the results.
Recommended Books & Training Resources