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 is an execution plan?
What is the difference between a fill factor of 100 and 0?
Would you store your query in a ssrs report or a database server? State the reason why?
How do I start sql server 2017?
Can a rule be bound to any column of any data type?
When columns are added to existing tables, what do they initially contain?
Differentiate between delete and truncate.
What is data compression? : sql server database administration
Explain indexed views and partitioned view with their syntax.
What is serializable?
Can you explain what is the use of custom fields in report?
What does sql server mean?
What are partitioned views and distributed partitioned views?
What is use of dbcc commands?
What is inline table-value user-defined function?