What is update query?
What is the difference between jpql and sql?
What are the operators in sql?
What is a primary key called that is made up of more than one field?
what are the types of subquery? : Sql dba
How do I run a sql query?
What is left inner join in sql?
How to call DDL statements from pl/sql?
What is the difference between inner join and natural join?
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 the various levels of constraints?
Can we write create command in the plsql block?if possible how?
what is the maximum length of a table name, database name, and fieldname in mysql? : Sql dba