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
Write the order of precedence for validation of a column in a table? I. Done using database triggers. Ii. Done using integarity constraints
What is cartesian join in sql?
What is the usage of distinct keyword?
how to escape special characters in sql statements? : Sql dba
Explain how to use transactions efficiently : transact sql
What is recursive join in sql?
What does truncate mean in sql?
What is rowtype?
Can primary key be changed?
how many tables will create when we create table, what are they? : Sql dba
how can we optimize or increase the speed of a mysql select query? : Sql dba
What is difference between table and view?
Can you upgrade sql express to full sql?
Define a temp table?
What are conditional predicates?