How to get employee name from employee table which is the
fiveth highest salary of the table
Answer Posted / m haribaskar
Select Salary From Employee a Where 5=(
Select Count(Distinct Salary) From Employee b
Where a.Salary <= b.Salary )
| Is This Answer Correct ? | 25 Yes | 7 No |
Post New Answer View All Answers
Is pl sql and postgresql same?
What is pl sql package?
Which join is default?
How to install oracle sql developer?
Can sql function call stored procedure?
Why having clause is used in sql?
What is difference between function and trigger?
Does sql support programming?
is it possible to pass an object or table to a procedure as an argument?
What are two statement types in sql?
Which operator is used in query for pattern matching?
Can a table contain multiple foreign key’s?
How do I debug a stored procedure?
First round ------------------- - Procedure - Packages - Views - Virtual tables - Can we use dcl with in function? - Joins and few scenarios - Triggers and its type - Pragma, type and its functionality - How to create db link in oracle - Materialized view - How to find duplicate values from table? - Cursor and its functionality - Write a script to display friday and its date from a entire year. - Exception Handling Second round ------------------------ Gave a scenario like. Need to write a function to perform. When user try to change a password. It must not be last five password and a given password can be combination of characters, symbols, upper and lower case.
how to analyze tables with 'mysqlcheck'? : Sql dba