Find out nth highest salary from emp table
SELECT DISTINCT (a.sal) FROM EMP A WHERE &N = (SELECT COUNT (DISTINCT (b.sal)) FROM EMP B WHERE a.sal < = b.sal);
Enter value for n: 2
Showing Answers 1 - 74 of 74 Answers
- Write a query for split one column to multiple columns
- Which table will load first - fact or dimension table?
- SQL query to convert single row from multiple tables into single row in a table
- Find the 11th letter
- Query to get highest marks output
- Display employee select SQL query
- Etl testing
- Etl duplicate records
- Database table active records count
- Voltage without current and current without voltage
- Salary provision
- Collections get nth record from index by table
- Load a date field value from sequencial file to databse table with out using transformer
- Find the missing number: 2, 4, 6, 8, 10, 12?
- Is it true that developers are good security tester? If yes why?
- Subclass of component class
- Question on constraints
- Tronfy home cinema projector 60
- Test UNIX login