Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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



How to find 8th person record in a table? Plz mail ur answers to mak2786@gmail.com Regards Ar..

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

How to find 8th person record in a table? Plz mail ur answers to mak2786@gmail.com Regards Ar..

Answer / fahad

select * from emp where rownum<=8
minus
select * from emp where rownum<=7

Is This Answer Correct ?    6 Yes 0 No

How to find 8th person record in a table? Plz mail ur answers to mak2786@gmail.com Regards Ar..

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

How to find 8th person record in a table? Plz mail ur answers to mak2786@gmail.com Regards Ar..

Answer / raj

select * from (select a.*, rownum as n from temp_table a)
where n = 8

Is This Answer Correct ?    0 Yes 0 No

How to find 8th person record in a table? Plz mail ur answers to mak2786@gmail.com Regards Ar..

Answer / sandeep

syntax: select <rownum>,<c.. n.. 2>,<c..n..3>
from<tablename>
group by<rownum>,<c.n.2>,<c.n.3>
having rownum=&n
eg:
select rownum,ename,empno from emp
group by rownum,ename,empno
having rownum=&8

Is This Answer Correct ?    0 Yes 1 No

How to find 8th person record in a table? Plz mail ur answers to mak2786@gmail.com Regards Ar..

Answer / raam

Hi, above both the answers not worked..

Is This Answer Correct ?    0 Yes 5 No

How to find 8th person record in a table? Plz mail ur answers to mak2786@gmail.com Regards Ar..

Answer / raj

select rownum,ename,address from emp where rownum=8;

Is This Answer Correct ?    1 Yes 6 No

How to find 8th person record in a table? Plz mail ur answers to mak2786@gmail.com Regards Ar..

Answer / hitesh rathod

or we can directly use
select * from emp where rownum=8;

Is This Answer Correct ?    6 Yes 12 No

Post New Answer

More Oracle AllOther Interview Questions

How can you enable a trace for a session?

2 Answers  


How can you rebuild an index?

1 Answers  


Explain the payment term in ar. : oracle accounts receivable

0 Answers  


How do you add a data file to a tablespace?

1 Answers  


i want to know about the javaBean.what is its purpose and how it can use in Forms.

0 Answers   Logisoft,


what are all the conversion and interfaces in GL,AP,AR,HRMS with example? otherwise send send link for these

0 Answers   Pathway Technologies,


can u pls share responsibilities for production how to environment in odi?and how to generate report ?

0 Answers  


can u tell me how many types of oracle and which type all detail in oracle (suppose all history of oracle )

1 Answers   IBM, Oracle,


please send me oracle pl/sql exp resume. and also faqs...

0 Answers  


What is auto invoicing? Explain : oracle accounts receivable

0 Answers  


hi iam kavya, i completed Oracle11i(finance module), i do not know how to face the interview questions please adivese me

0 Answers  


Compare and contrast TRUNCATE and DELETE for a table.

3 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1803)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)