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 commit? : Sql dba
What is the difference between function, procedure and package in pl/sql?
Explain what is rdbms?
What does varchar include?
How many types of functions are there in sql?
What are tuples in sql?
Why join is faster than subquery?
What are % type and % rowtype?
What is the most important ddl statements in sql are?
What has stored procedures in sql and how we can use it?
how to get a list of all tables in a database? : Sql dba
How do you define a foreign key?
What is compute?
What is difference between sql and oracle?
What is the difference between sql and isql*plus?