Write a query to get last 10 records from the table.
Answers were Sorted based on User's Feedback
Answer / hussain
select * from emp minus select * from emp where rownum<=
(select count(*)-10 from emp);
Is This Answer Correct ? | 0 Yes | 3 No |
SELECT CNUM,FNAME, DEPTNO
FROM COMPANY
WHERE CNUM <= 10;
Is This Answer Correct ? | 3 Yes | 12 No |
what is “go” in t-sql? : Transact sql
what is outer join? what is selef join? what is difference between them? what is cartecion join?
1 Answers Fiserv, Herbinger, Synechron,
What is the difference between inner join and left join?
What is sqlite used for?
How we can update the view?
what will be the output: select 1 from emp union all select 2 from emp;
Mention what is the use of function "module procedure" in pl/sql?
what is the different between unique+not null & primary key,
What is query optimization in sql?
What is trigger in pl sql?
How many sql statements are used?
What is a ddl command?