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 / venubabu addagada

SELECT DISTINCT
( e.emp_salary )
FROM
employee e
WHERE
&n = (
SELECT
COUNT(DISTINCT(e1.emp_salary) )
FROM
employee e1
WHERE
e1.emp_salary > e.emp_salary
);

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the difference between blob and text? : Sql dba

1020


how to include numeric values in sql statements? : Sql dba

1101


What is the limitation on the block size of pl/sql?

987


Is there a 64 bit version of ssms?

961


Define union, minus, union all, intersect ?

1006


Advantages and disadvantages of stored procedure?

1122


What are the syntax and use of the coalesce function?

1206


What is dba in sql? : SQL DBA

1044


What is the use of %rowtype?

1041


What is user in sql?

1024


What are the different types of dbmss?

1015


Why are aggregate functions called so?

947


What is over () in sql?

965


Can %notfound return null after a fetch?

1060


Explain exception handling in pl/sql?

1037