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 are the various levels of constraints?

1059


Explain the components of sql?

993


What is the difference between cross join and natural join?

960


What does select top 1 do in sql?

1001


What are its different types of dbms?

956


What is sql and also describe types of sql statements?

995


What are the advantages of indexing?

927


What is difference between stored procedures and application procedures?

956


Does inner join return duplicate rows?

926


What is pl sql record in oracle?

969


What is a left inner join?

946


How do you update f as m and m as f from the below table testtable?

1789


What is data control language (dcl)?

1043


What is the example of procedure?

874


What is rowtype?

954