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 sql in java?

1134


Could you please provide oca (oracle 10g) dumps for my certification ?

5243


what is 'mysqladmin' in mysql? : Sql dba

1074


How do I find duplicates in sql?

982


Explian rowid, rownum? What are the psoducolumns we have?

1045


Is a table valued function object?

1076


Why we use stored procedure instead of query?

1047


Does pdo prevent sql injection?

990


Can we use delete in merge statement?

1100


What is cross join sql?

964


What is meant by temporal data?

1003


What types of commands can be executed in sql*plus?

1164


How does a covering index work?

1009


How do I view stored procedures?

1023


What is triggering circuit?

1105