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 we alter stored procedure?
What does pragma mean?
What are operators available in sql?
What are synonyms in sql?
How to use boolean type in select statement?
How do I debug a stored procedure?
what are the join types in tsql? : Transact sql
How do I remove all records from a table?
In pl/sql, what is bulk binding, and when/how would it help performance?
Can sql developer connect to db2?
Why do we use sqlite?
How to change the order of columns in Oracle SQL Plus ?
What is a left join?
What is the difference between drop and truncate commands?
What are the types of records?