The TOP keyword is used to limit the number of records returned in a SELECT statement.

For example, if you wanted to select the top 5 records from a table called ‘Customers’, you would use the following query:

SELECT TOP 5 * FROM Customers;

Leave a Reply

Your email address will not be published. Required fields are marked *