From an Employee table, how will you display the record
which has a maximum salary?
Answer Posted / os reddy
select * from emp
where sal=(select max(sal) from emp);
OR
select * from emp
where sal in(select max(sal) from emp);
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
what are sequences
Write a sql query to find the names of employees that begin with ‘a’?
What is bind reference and how can it be created?
What is rowid in sql?
What is blind sql injection?
Does sql require a server?
Why do we use cursors?
What is union and union all keyword in sql and what are their differences?
What is plpgsql language?
What are all the common sql functions?
Is sql a backend?
What are transaction and its controls?
What are the advantages of stored procedure?
Is grant a ddl statement?
What is left join in sql?