From an Employee table, how will you display the record
which has a maximum salary?
Answer Posted / suresh babu
SELECT * FROM employees WHERE salary = (SELECT MAX(salary)
FROM employees);
This query will return the employee details,who getting
maximum salary.
Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
Can a table contain multiple primary key’s?
When is the explicit cursor used ?
What are sql data types?
Why trigger is used in sql?
What is bulk collect in pl sql?
What is pl sql package?
What are the conditions an underlying table must satisfy before a cursor can be used by a positioned update or delete statement? : Transact sql
explain about mysql and its features. : Sql dba
What is the difference between joins?
how to implement one-to-one, one-to-many and many-to-many relationships while designing tables? : Sql dba
What is rtm in testing?
what are the non-standard sql commands supported by 'mysql'? : Sql dba
Does pl/sql support create command?
How sql query is executed?
what is the difference between a having clause and a where clause? : Sql dba