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 |
Can we modify approve purchase order?if yes what is navigation?
For web applications from which version of Oracle is suitable?
what is the difference between TRUNCATE and DELETE command in SQL
23 Answers ICICI, Saama Tech, SkyTech, TCS,
What is mrc and what is its use? : oracle accounts receivable
HOW TO GET THE ORGANIZATION TO ORGANIZATION DETAILS INFORMATION IN THE INVENTORY MODULE.THE REQUIREMENT IS FROMORG TOORG FROMINV TOINV ..
Why we are using primary key and foreign key in oracle and difference between primary key and foreign key?
TILL WHAT LEVEL OF SECURITY BO SUPPORTS?
How can you rebuild an index?
Explain materialized views and how they are used.
how to write a query without using where? Example- select * from employee where empno=10 I need to write this query without where clause.
which gives Oracle R12 Financial training in delhi please give me answer its urgent?
What is the difference between conversions and interfaces? : oracle accounts receivable