How to select the name of employee who is getting maximum
sal with out using subquery

Answer Posted / flitchner

select name from (select max(sal) as salary from emp) a,
emp b
where a.salary = b.sal;

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a select query statement in oracle?

539


when we are importing items in inventory, showing errors, Oracle support suggested us for running scripts & also suggested if we run scripts, iprocurement applicaation if is there it will show shared and if we go in future for iprocurement, it wont work. So kinldy suggest any functional solution.

1465


What is the fastest query method to fetch data from the table?

855


What is partitioned table in Oracle?

624


What are the database administrators utilities available?

572






Why is oracle database so popular?

558


How to put more than 1000 values into an oracle in clause?

579


How to drop a stored function?

670


How to define a record variable to store a table row?

574


What is an oracle cursor variable?

603


State and explain about oracle instance?

536


Is there a combination of "like" and "in" in sql?

571


How we can able to import our own template (users designed MS-Word templates) which has many tabular columns; need to pass some values generate by Oracle-reports9i? Actually need to import more than 400 MS-Word templates into Oracle Reports-9i to minimize layout design in Reports.

1606


How to do a full database export?

628


What is the difference between formal parameters and actual parameters?

536