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 find the second highest salary from emp table?

Answer Posted / khushbu

select max(salary) from emp where salary not in (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

Which one is better subquery or joins?

1118


Which is better join or subquery?

1192


How do I run sql profiler?

1119


how to run 'mysql' commands from a batch file? : Sql dba

1171


Why do we use triggers?

1020


How many types of keys are there in sql?

1089


What is pl sql block structure?

1095


Is not null in sql?

1045


How do I make my sql query run faster?

1018


What are sql triggers used for?

1035


How do you sort in sql?

1071


Can we edit a view in sql?

1047


Is record in oracle pl sql?

1017


What is union?

1253


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

1129