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 are the types of dbms?

955


what is 'mysqldump'? : Sql dba

1093


tell us something about heap tables. : Sql dba

1077


What are triggers in sql?

1005


Show how functions and procedures are called in a pl/sql block.

1102


Enlist some predefined exceptions?

1038


Explain what is a column in a table?

1085


What is the difference between sum and count in sql?

973


which command using query analyzer will give you the version of sql server and operating system? : Sql dba

1037


what is the difference between a web-garden and a web-farm? : Sql dba

1063


- Types of triggers - View - Dcl - Procedures, packages, functions - Metasolve - Can use Dcl in triggers - package case study - Cursor and its types - triggers schedule - Wrap - Why we are using fetch and for in cursor. difference?

1818


How delete all records from table in sql?

961


What is the difference between local variables and global variables?

1109


describe transaction-safe table types in mysql : sql dba

988


Explain the the delete statements in sql?

1042