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 nth highest salary

Answer Posted / kalai

SELECT * FROM EMP A WHERE 7=(SELECT COUNT(SAL) FROM EMP
WHERE A.SAL<SAL)

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a SQL query to make a column as unique?

1078


What is the use of builtinadministrators group in sql server? : sql server security

1108


System requirements for sql server 2005 express edition?

1070


what is blocking? : Sql server database administration

1088


What is a transact-sql statement?

1129


How to execute function in stored procedure sql server?

1234


Explain few examples of RDBMS?

1102


What do you understand by SQL*Net?

1085


Do you know the cursor types?

1205


What is etl - extraction, transformation, and loading?

960


How to use values from other tables in update statements in ms sql server?

1185


How to list all columns in a table using odbc_columns()?

1032


You schedule a job to run every minute what will happen if the first job runs more than 1 min? Will the second instance of the job start?

1090


How to find the source of a table in sql server?

1037


How retrieve field names from the table in SQL through JAVA code?

1958