wat will be the sql query to extract only last 3 records
from table supose table hving thousands for records
Answer Posted / balaji
select * from table_name ORDERBY id DESC limit 0,n;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the differences between local and global temporary tables?
How to change the name of a database user?
Which are new data types introduced in sql server 2008?
What are the different types of locks in the database?
How can a database be repaired?
What is a with(nolock)?
Explain candidate key, alternate key, and composite key?
What are the types of user defined functions in sql server?
Create and insert into temp table in sql server?
do you know how to configure db2 side of the application? : Sql server database administration
Is it possible to replicate data from sql server to oracle? : sql server replication
What is PROJECTION Operation?
What is Lock table in SQL?
What are temporal tables in sql server 2016?
How to find a value in another dataset based on current dataset field (ssrs 2008 r2)?