wat will be the sql query to extract only last 3 records
from table supose table hving thousands for records
Answer Posted / krishna sandeep
select top 3 <column_name> from ,table_name> order by
<column_name> desc
this will work.
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
What are the limitations in ssrs on sql server express edition?
Which are ddl commands?
Retrieve the unique rows from table without using UNIQUE and DISTINCT keywords.
What is the difference between clustered and a non-clustered index?
What are the fixed server level roles? : sql server security
What is the order by used for?
What do you mean by subquery?
Explain different types of self contained sub query?
How to rename databases in ms sql server?
Can sql server 2016 run on windows 7?
What are cursors stored procedures and triggers?
Explain in brief about Microsoft SQL server?
Describe and explain about SQL native client?
Show Practically Sql Server Views are updatable?
What is the sql profiler?