How to find 8th person record in a table?
Plz mail ur answers to
mak2786@gmail.com
Regards
Arun
Answers were Sorted based on User's Feedback
Answer / chaitanya.s
retrieving 8th record from emp table in scott instance
select * from emp where rownum<=8
minus
select * from emp where rownum<=7
Is This Answer Correct ? | 9 Yes | 3 No |
Answer / fahad
select * from emp where rownum<=8
minus
select * from emp where rownum<=7
Is This Answer Correct ? | 6 Yes | 0 No |
Answer / shaibya sandeep dwivedi
select id,salary from (select rownum as t,id,salary from
emp) where t=8;
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / raj
select * from (select a.*, rownum as n from temp_table a)
where n = 8
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / raj
select rownum,ename,address from emp where rownum=8;
Is This Answer Correct ? | 1 Yes | 6 No |
Answer / hitesh rathod
or we can directly use
select * from emp where rownum=8;
Is This Answer Correct ? | 6 Yes | 12 No |
WHAT IS CARTESIAN PRODUCT?
What is difference b/w Credit memo and Adjustment in AR.
Differentiate between writeoff and receipt writeoff. : oracle accounts receivable
What command would you use to encrypt a PL/SQL application?
How do you resize a data file?
How do you use trigger to create mutating state of table
What is the sql query to find the employee who has Nth maximum salary?
Differentiate between transaction type and transaction source? : oracle accounts receivable
Explain accounting for invoice in advance and arrears. : oracle accounts receivable
What command would you use to create a backup control file?
3. Steps in UAT?
TILL WHAT LEVEL OF SECURITY BO SUPPORTS?