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 / kalyan
select name,max(sal) from emp group by name
| Is This Answer Correct ? | 6 Yes | 8 No |
Post New Answer View All Answers
How to delete a database in ms sql server?
Explain index in sql server?
How many primary keys are possible in a table?
How global temporary tables are represented and its scope?
What are different types of raid levels?
Explain hostprotectionattribute in sql server 2005?
What are xml indexes?
How to install sql server 2005 express edition?
tell me what is blocking and how would you troubleshoot it? : Sql server database administration
What is the architecture of ms sql reporting service?
What is sql stored procedure?
Write a SQL query in order to merge two different columns into single column?
Mention what are the different types of ssrs reports?
What is the purpose of data source?
How to test a dml trigger in ms sql server?