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 find second highest salary of an employee.

Answer Posted / arif saulat

select * from emp where sal <(select max(sal) from emp)

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is sql and db2?

1003


What are the different parts of a package?

1115


How do you get column names only for a table (sql server)?

1163


What is the difference between unique and primary key constraints?

1071


Is ms sql is free?

1020


How to select unique records from a table?

1059


Does sql*plus also have a pl/sql engine?

1080


what is online transaction processing (oltp)? : Sql dba

994


What if we write return in procedure?

1429


How do you use collections in procedure to return the resultset?

2238


What is difference between stored procedure and trigger?

1168


How does rowid help in running a query faster?

1416


What is a pl/sql block?

1227


how to do backup entire database? : Transact sql

1144


What is full join?

953