how to check the 3rd max salary from an employee table?
Answers were Sorted based on User's Feedback
Answer / manish_patil
select sal from emp_sal where rownum = 3 order by sal desc
| Is This Answer Correct ? | 6 Yes | 9 No |
Answer / tushar
select max(sal) from ( select sal from emp group by sal order by sal) where rownum<4;
| Is This Answer Correct ? | 0 Yes | 3 No |
Answer / nagendra
select min(sal) from emp where sal in( select top 3 sal
from emp order by sal desc)
| Is This Answer Correct ? | 2 Yes | 6 No |
Difference between DBMS and RDBMS...CODD's rules
what are the differences between procedure-oriented languages and object-oriented languages? : Sql dba
How do you write a complex sql query?
How to get the 3rd column(i.e all the data along with the column name)in a table?
What is a constraint. Types of constraints ?
5 Answers Accenture, BirlaSoft,
What is sqlcommand?
ename empno deptno amar 1 10 akbar 2 20 anthonny 3 30 jonathan 4 40 write a procedure to dispaly the column values ina row separated by a deleimiter eg - input - select ename from emp '|' output - amar|akbar|anthony|jonathan input - select empno from emp '@' o/p - 1@2@3@4 input - select deptno from emp '/' o/p - 10/20/30/40 Pls answer this questn.
Explain normalization and what are the advantages of it?
Can two tables have same primary key?
What type of join is sql join?
Is primary key clustered or nonclustered?
What is bind reference and how can it be created?
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)