wat will be the sql query to extract only last 3 records
from table supose table hving thousands for records
Answer Posted / teja
select * from employee where emp_id in
(select top 3 emp_id from employee order by emp_id DESC)
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
why does a sql statement work correctly outside of a user-defined function, but incorrectly inside it? : Sql server administration
What is the difference between mysql and sql server?
How can we solve concurrency problems?
explain what are the steps you will take, if you are tasked with securing an sql server? : Sql server database administration
Can a rule be bound to any column of any data type?
How to loop through result set objects using mssql_fetch_array()?
What are the new features in SQL Server 2005 when compared to SQL Server 2000?
What is an etl file?
where the connection string store in the database
What are page splits?
Explain the microsoft sql server delete command?
Explain user defined functions?
What is the boxing and unboxing concept in .net?
What are the different types of indexes?
Explain atomicity?