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

Answer Posted / shan

select ename,max(sal)from emp
group by ename

Is This Answer Correct ?    0 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is oracle a relational database?

520


What will be the syntax to find current date and time in format "yyyy-mm-dd"?

568


What is the difference between formal parameters and actual parameters?

543


What view(s) do you use to associate a users SQLPLUS session with his o/s process?

1908


How to run the anonymous block again?

595






Can objects of the same schema reside in different tablespace?

586


What is transaction control statement and how many types of transaction control statement in Oracle?

562


How to update values on multiple rows in oracle?

600


What do you understand by database schema and what does it hold?

594


What are the advantages of oracle 12c?

555


How to use windows user to connect to the server?

531


What is raw datatype?

592


What is memory advisor in Oracle?

635


How to sort the query output in oracle?

610


What are the database administrators utilities available?

578