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 the difference between stored procedure and user defined functions?
What is table valued function and scalar valued functions?
How to set the current database in ms sql server?
What are constraints?
What is “asynchronous” communication in sql server service broker?
Describe and explain about SQL native client?
What are the advantages of sql azure?
Can group by be used without aggregate functions?
Explain user defined functions?
What is a transactions?
What are date and time data types in ms sql server?
How to add more data to the testing table in ms sql server?
What is model database in sql server?
Is mysql better than sql server?
What is difference between stored procedure and user defined function?