wat will be the sql query to extract only last 3 records
from table supose table hving thousands for records
Answer Posted / kumar
select top 3 * from tablename
order by 1 desc
By
Kumar Junior Software Engineer
| Is This Answer Correct ? | 13 Yes | 6 No |
Post New Answer View All Answers
Explain what is log shipping?
Define magic tables in sql server?
is it important for a database administrator to understand the operating system and file access? : Sql server administration
What is the difference between for auto and for nested?
What is the difference between commit and rollback?
How is foreign key related to primary key?
What is dbcc updateusage?
Create and insert into temp table in sql server?
Do you know what is openxml in sql server?
How can we determine what objects a user-defined function depends upon?
What is an indexing strategy?
Explain syntax for dropping triggers?
What are subqueries in sql server?
What is “begin trans”, “commit tran”, “rollback tran” and “savetran”?
What is the meaning of resultset type_scroll_insensitive?