what are the differences among rownum, rank and dense_rank? : Sql dba
No Answer is Posted For this Question
Be the First to Post Answer
In a Distributed Database System Can we execute two queries simultaneously ? Justify ?
how to get second highest salary in SQL(as/4000
Which one of the following pairs of aggregate functions do you use with character fields? 1. COUNT(field) and MAX(field) 2. AVG(field) and COUNT(field) 3. MIN(field) and SUM(field) 4. AVG(field) and MAX(field) 5. COUNT(field) and SUM(field)
how to create a primary key with out creating an index?
I need a exceptoin in pl/sql block so that if any errors occur in the block then no exception should errors should raise?
what is the Default Libraries for Oracle Report 6i
How do sql triggers work?
What is prepared statement in sql?
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 is HASH join?
Why stored procedure is better than query?
Explain character-manipulation functions?
Oracle (3259)
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)