how to write the query to select 10 record from database
C#
6
Posts
3
Posters
0
Views
1
Watching
-
Depends where the 10 records are. SELECT TOP 10 will get the first ten records matching the criteria. If you want 10 records in teh middle or end then you have more work to do.
only two letters away from being an asset
-
Select top 10 * from
-
Select top 10 * from
-
You need to retrive 20 records and ignore top 10 to get next 10 records
-
or Select top 10 * from agent where agentid not in (select top 10 agentid from agent)