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 view would you use to determine free space in a tablespace?
what are the API of GL,PO,AP
can u tell me how many types of oracle and which type all detail in oracle (suppose all history of oracle )
we have 10 concurrent programs under one request group out of 10 ccps all users submitting only 9 programs from srs window remaining one ccp for specific user how can it possible send me answer asap.
Tell me about entire study of finacle software as soon as possible? give me the idea about questions which coulb be asked in interview of pnb it officers?
1 Answers Punjab National Bank,
deference between & and &&
What is the disk migration? what is the steps involved in oracle disk migration?
In my table i'm having the duplicate records with sequence number and my requirement is when in new record is coming i want to delete existing old record(onlyone i.e maintaing the partial duplicate date )and add new record
What is database schema?
How I can load an image into image item on Forms. I want to know about built-ins and procedure. and also code for it.
how to write a query without using where? Example- select * from employee where empno=10 I need to write this query without where clause.
Give the reasoning behind using an index.