wat will be the sql query to extract only last 3 records
from table supose table hving thousands for records
Answer Posted / nitesh srivastava
select * from emp
minus
select * from emp where rownum<(select count(*)-2 from emp)
| Is This Answer Correct ? | 8 Yes | 10 No |
Post New Answer View All Answers
Name few of the dcl commands in sql?
What is cached report?
What is the difference between Triggers and Stored Procedure?
What is isnull() operator?
What is role playing dimension with two examples? : sql server analysis services, ssas
What command would you use to create an index?
What are the built in functions in sql server?
Is it possible to run multiple publications and different type of publications from the same distribution database? : sql server replication
What does the not null constraint do?
Explain what is log shipping?
What causes index fragmentation?
What is factless fact table? : sql server analysis services, ssas
How to get the definition of a view out of the sql server?
What is default constraint?
Define Business Edition in SQL Azure?