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 / rajiv singh

select max(department_id) from departments where
department_id <(select max(department_id) from departments);

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 pl/sql table? Why it is used?

988


How to return multiple rows from the stored procedure?

912


What does plv msg allows you to do?

1074


What is sql dialect?

1035


What is the difference between alter trigger and drop trigger statements?

1041


How does index help in query performance?

966


what is the bond code in materialized view?

2930


what are numeric data types? : Sql dba

1000


What are all the ddl commands?

1112


What is the difference between the repeatable read and serializable isolation levels? : Transact sql

1010


how do you know the version of your mysql server? : Sql dba

935


What is the use of partition by in sql?

926


What does (+) mean in sql joins?

1006


What are the sql aggregate functions?

1065


How do you go back in sql?

939