An employee table, with the columns id, name, sal and dob.
Query to select emp names of all highest salaries(there are
4-5 people having the same salary which happens to be the
highest).
Answer Posted / amol dhane
Select * From (Select emp1.*, dense_rank () Over (Order By
sal asc) Salary_Order From employee emp1)emp2 Where
Salary_Order = 1
| Is This Answer Correct ? | 10 Yes | 1 No |
Post New Answer View All Answers
Define union, union all, minus, intersect?
What are .mdf files?
Explain SSRS Architecture?
Tell me what is log shipping?
How many non clustered indexes there can be on table ?
Explain unique key in sql server?
What methods do you follow to protect from sql injection attack?
What are secondary xml indexes?
What do you understand by intent locks?
How does a profiler work?
what are the different stages of Report Processing?
What are the difference between primary keys and foreign keys?
Is null in sql server?
Can we install sql server 2016 on windows 7?
What is change data capture (cdc) feature?