
Originally Posted by
ItsMe
If by, selecting a number of rows, you mean that you want to select a specific quantity if rows, that is not a conventional request. The quantity of rows retrieved is usually based on the criteria in the query. The quantity is a result not a criteria. A criteria usually starts with a key value or search string. The criteria may find a certain number of matches and retrieve those rows of data.
One solution for your request may be to use SELCT TOP. you can retrieve the TOP results of an SQL statement. For instance, if you want to see only the top 10 finishers in a race, you could create a query that retrieves everyone who finished. In the query, there would have to be each individual's finish position. You would sort the order by [FinishPosition] and include
SELECT TOP 10
.