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
What is index example?
What is dml with example?
How to read xml file in oracle pl sql?
What do you understand by case manipulation functions?
What is duration in sql profiler trace?
Does sql require a server?
How do sql databases work?
name 3 ways to get an accurate count of the number of records in a table? : Sql dba
how would you get the current date in mysql? : Sql dba
How do you truncate?
Which function is used to return remainder in a division operator in sql?
Is it possible to sort a column using a column alias?
What is record in pl sql?
what is view? : Sql dba
What is a sql*loader control file?