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...

From an Employee table, how will you display the record
which has a maximum salary?

Answer Posted / suma

SELECT emp_name, salary FROM EMPLOYEES E1
WHERE (0) = (SELECT COUNT(DISTINCT(E2.salary))
FROM EMPLOYEES E2
WHERE E1.salary < E2.salary)

Is This Answer Correct ?    13 Yes 16 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between delete, truncate and drop command?

1227


In pl/sql, what is bulk binding, and when/how would it help performance?

1035


how can we destroy the cookie? : Sql dba

1082


Explain the insert into statements in sql?

1053


What is t sql used for?

1060


How can you load microsoft excel data into oracle? : aql loader

1216


Explain the the update statement in sql?

1105


how many sql ddl commands are supported by 'mysql'? : Sql dba

1065


How do I view stored procedures?

1023


define sql insert statement ? : Sql dba

1080


What steps server process has to take to execute an update statement?

1017


What is dynamic query?

1036


How do you identify a primary key?

1114


What are the types of queries in sql?

1128


How to disable a trigger name update_salary?

1315