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
What is a composite primary key?
How do you write a subquery?
how to get a list of all tables in a database? : Sql dba
What is partition by in sql?
Is it possible to update views?
How to install oracle sql developer?
What does inner join mean?
What is the use of index in sql?
Which sorts rows in sql?
What are analytic functions in sql?
How to select all records from the table?
explain what is mysql? : Sql dba
What is the difference between python and sql?
Is a view faster than a stored procedure?
Can we use rowid as primary key?