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 / raju
SELECT NAME ,SAL FROM employee WHERE
SAL=(SELECT MAX(sal)from employee )
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
what is sql server? : Sql server database administration
What is an active database?
What according to you is the difference between mysql and sql server performance?
Difference between LEN() and DATALENGTH() in sql server ?
What is data source view or dsv? : sql server analysis services, ssas
What is the difference between char, varchar and nvarchar?
What is the osql utility?
Can we use trigger new in before insert?
Difference Between ORDER BY Clause and GROUP BY Clause in SQL?
How to convert a table data in XML format in sql server?
What is the purpose of a table?
What is 2nf in normalization?
What does the on update no action do?
How to handle error or exception in sql?
What encryption security is available in sql azure?