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 / swathi

I have just mentioned that 4-5....but ingeneral when you
donno how many employees are there with highly paid
amount...then how are you going to write the query

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is Service Broker in sql server 2012?

620


What will be query used to get the list of triggers in a database?

544


What is the difference between online clustering and Offline clustering?

1914


What is the maximum size of a row in sql server?

525


Explain isolation levels that sql server supports?

565






What is the server name in sql server?

555


What is the purpose of sql profiler in sql server? : sql server database administration

623


What is the syntax to execute the sys.dm_db_missing_index_details? : sql server database administration

620


What is the difference between MVC and Teir Architecher? Plz explain with Layyered Programming example...? Thanks

1607


what are the steps you will take to improve performance of a poor performing query? : Sql server database administration

530


Suppose you want to implement the one-to-many relationships while designing tables. How would you do it?

499


What is the difference between for xml raw and for xml auto?

561


Explain about builtinadministrator?

589


What is collation sensitivity?

549


What is database isolation in sql server? : sql server database administration

564