General information
Category:
Coding, syntax & commands
>I have a table with hundreds of records, which can be divided into three groups. What I am going to do is to select the last 50 records for a group, let's say group A,from this table. Is it possible to issue a SQL command and let the thing done? Thanks!
SELECT TOP 50
...
gives you first 50 records. To have the last 50 you can do something like
SELECT TOP 50
...
ORDER BY ... DESC
...
Claude
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only