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 / velmurugan p

Select min(sal) from table_name where sal in(Select top 2 sal from table_name)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is a table valued function object?

1009


Can we perform dml in function?

1063


How do I delete a trigger?

961


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

1110


What is difference between sql and excel?

1087


How do I debug a stored procedure?

1109


How many tables can you join in sql?

956


How do you update sql?

965


How to add new employee details in an employee_details table with the following details

1088


How can I tell if sql is running?

1064


What is a temporal table?

924


How to read/write files from pl/sql?

1035


What is parallel hint?

1315


What is primary key and unique key?

1113


Can we use ddl commands in pl sql?

1159