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...

1.how to extract the second highest salary from emp table
having sal as a column which contains the salary of all
employee of an organisation.

Answer Posted / ramya

select max(sal) from employees where
sal < (select max(sal) from employees)

Is This Answer Correct ?    21 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many types of tables are there in oracle?

1042


What is sharded cluster?

992


Explain an index segment?

1092


Explain the features of oracle?

1020


Explain the use of rows option in exp command.

1068


What is the cache hit ratio, what impact does it have on performance of an Oracle database and what is involved in tuning it?

2114


How oracle handles dead locks?

1052


WHAT IS ecc 6.0

2139


Database is hung. Old and new user connections alike hang on impact. What do you do? Your SYS SQLPLUS session IS able to connect.

2135


What is a sub query and what are the different types of subqueries?

1106


How do we get field detail of a table?

1055


How many objectname will be created for a single table drop function? Why 'flashback' query giving error "ORA-38312: original name is used by an existing object" while getting the table?

2235


What is the usage of control file in oracle?

1068


query optmization techniques and quwry analyser+projects+ppts

2402


How to get a create statement for an existing table?

946