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

Can we modify approve purchase order?if yes what is navigation?

0 Answers   L&T,


For web applications from which version of Oracle is suitable?

1 Answers  


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

0 Answers  


HOW TO GET THE ORGANIZATION TO ORGANIZATION DETAILS INFORMATION IN THE INVENTORY MODULE.THE REQUIREMENT IS FROMORG TOORG FROMINV TOINV ..

0 Answers   Infosys,


Why we are using primary key and foreign key in oracle and difference between primary key and foreign key?

1 Answers  


TILL WHAT LEVEL OF SECURITY BO SUPPORTS?

1 Answers  


How can you rebuild an index?

1 Answers  


Explain materialized views and how they are used.

2 Answers  


how to write a query without using where? Example- select * from employee where empno=10 I need to write this query without where clause.

1 Answers   Alshaya,


which gives Oracle R12 Financial training in delhi please give me answer its urgent?

0 Answers  


What is the difference between conversions and interfaces? : oracle accounts receivable

0 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1809)
  • 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)