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

Write a query to get 2nd maximum salary in an employee table ?

Answer Posted / jebitha

select max(sal) from emp where sal<>(select max(sal) from
emp);

Is This Answer Correct ?    7 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is sqlite thread safe?

1040


What are % type and % rowtype?

1028


describe mysql connection using mysql binary. : Sql dba

1054


Why do we need cursor in pl sql?

1125


What does a pl/sql package consist of?

971


How can a function retun more than one value in oracle with proper example?

1071


Can you have a foreign key without a primary key?

947


Can we use loop in sql?

965


Why is there a need for sqlcode and sqlerrm variables?

1043


What is left join example?

940


What is a call statement? Explain with an example.

996


How do I write a sql query in pgadmin 4?

972


How can you create an empty table from an existing table?

1068


How do you create an update query?

956


How do I truncate a word?

1080