I have one table :EID,Depid,ename,sal
I want to have max(sal) in each department.
Answer Posted / vengalrao
Dear Friends,
Depends upon table u can pick one max value is possible,one
table u cannot pick max value of all columans , then u can
refer one any ne column
select depid,max(sal) from <table name> group by depid;
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
How i can handle exception in large code like 1000 line without distrubing the code or without exception handler sction?
What are the different types of modules in oracle forms?
How do I uninstall oracle client from windows?
How to use subqueries in the from clause in oracle?
How a database is related to tablespaces?
What is the difference between truncate & delete command?
Explain oracle’s system global area (sga).
Explain about integrity constraint?
Compare and contrast between sql and sql server and explain its various functions?
How to use "startup" command to start default instance?
How do I spool in oracle?
What are transaction isolation levels supported by oracle?
How to bring a tablespace offline?
Explain how you would restore a database using RMAN to Point in Time?
Can I create users through internet explorer in oracle 10g?