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 / srinivas

select max(salary) from Emp where salary<(select max(salary) from Emp)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a crud api?

954


What are the two parts of design view?

1020


Mention what does plvtab enables you to do when you showthe contents of pl/sql tables?

1170


How do I turn a list into a table?

963


Is sqlite good enough for production?

993


i have 2 table table one 4 columns respective values a1 7,a2 6,a3 8 ,a4 12 & table two 4 colums respective values a1 7,a2 6,a3 8,a4 15.if table one & table two 3 colums same then 4th column values 1)Qes diff >5 then print 5 * diff value 2)Que diff <5 print 5

4025


What is difference between left and right outer join?

988


Why do we use partitions in sql?

1051


Is it possible to pass parameters to triggers?

1103


What is not null in sql?

1058


What is procedure explain with example?

962


what is auto increment? : Sql dba

1011


What are two statement types in sql?

1108


where are cookies actually stored on the hard disk? : Sql dba

1030


What does <> sql mean?

1091