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

select max(salary) from employee where salary!=(select max
(salary) from employee);

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a recursive stored procedure?

1254


what is the difference between myisam static and myisam dynamic? : Sql dba

1116


What are %type and %rowtype for?

1109


What is a design view?

978


define sql delete statement ? : Sql dba

1069


what is a control file ? : Sql dba

1092


Can we use rowid as primary key?

1046


What is the difference between joins?

1094


What is exit statement?

1064


Why query optimization is needed?

975


Can we edit a view in sql?

1047


How do I run a program in pl sql?

1055


Can you join a table to itself?

1225


Which command is used to call a stored procedure?

1055


What is the difference between delete and truncate commands?

1100