Which sql most popular?
No Answer is Posted For this Question
Be the First to Post Answer
What are joins in sql?
What is restrict in sql?
Find out the 3rd highest salary?
51 Answers BirlaSoft, DAC, Silvia Infotech, Sutra Infotech,
Hi, Can anybody please explain me the flow of the below query. I am not able to understand how this query works. This query is for finding the Nth highest salary.. SELECT DISTINCT (a.sal) FROM EMP A WHERE &N = (SELECT COUNT (DISTINCT (b.sal)) FROM EMP B WHERE a.sal<=b.sal); If N = 2 then second highest salary will be the o/p. If N = 3 then third highest salary will be the o/p. and so on.. Thanks, Nitin
5 Answers Deloitte, Ness Technologies,
What are expressions?
If the application is running very slow? At what points you need to go about the database in order to improve the performance?
What are triggers and its types?
Does sql full backup truncate logs?
what is the difference between clustered and non clustered index in sql? : Sql dba
Explain the rollback statement?
What is pl/sql tables?
How does sql*loader handles newline characters in a record? : aql loader
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)