Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Select empname,salary from emp where salary=(select
max(salary) from emp)

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to use go command in "sqlcmd"?

1269


How to drop an existing schema in ms sql server?

1148


How to modify existing triggers using "alter trigger"?

1071


What is catalog views?

1123


How important do you consider cursors or while loops for a transactional database?

1015


What is CTE in SQL

997


Give main differences between "Truncate" and "Delete".

1155


What is a table called, if it has neither cluster nor non-cluster index? What is it used for?

1074


What does it mean to invest in the index?

1021


What are the advantages of using stored procedures?

1008


What are the five characteristics of good data?

978


What do you mean by collation recursive stored procedure?

1112


How to rename an existing column with sql server management studio?

1057


John exports information periodically from a microsoft sql server database to an oracle database what is the best way to do this?

991


Explain what you mean by 3 tier architecture.

1128