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 retrive only second row from table?

Answer Posted / kishan kumar

select empno,ename,sal,comm,job,mgr,deptno from emp
group by empno,ename,sal,comm,mgr,deptno,rownum 
having rownum in (2);

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is rank () in sql?

934


what are the differences between procedure-oriented languages and object-oriented languages? : Sql dba

1039


how can I make a script that can be bi-language (supports english, german)? : Sql dba

1010


How can we debug in PL/SQL?

1131


What is the difference between a primary key and a clustered index?

986


Show the cursor attributes of pl/sql.

1046


Is microsoft sql free?

1095


What are different types of statements supported by sql?

1165


What is a primary key? Explain

972


Can we create index on primary key?

962


What is trigger types of trigger?

1066


Why is the cursor important?

1038


What is dml and ddl?

951


What is a full join?

972


Is ms sql is free?

1020