TOP
Example
Section titled “Example”SELECT TOP 3 * FROM Orders;Output
Section titled “Output”OrderID | CustomerID | EmployeeID | OrderDate---------------------------------------------------10248 | 90 | 5 | 1996-07-0410249 | 81 | 6 | 1996-07-0510250 | 34 | 4 | 1996-07-08Explanation
Section titled “Explanation”The TOP keyword is used to specify the number of records to return from top of the dataset. In the given example, the first 3 records from the Orders table are returned.