I have one table :EID,Depid,ename,sal
I want to have max(sal) in each department.
Answer Posted / omar
select e.department_id,max(e.salary)
from employees e
group by e.department_id
order by e.department_id desc;
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
There are n numbers of flatfile of exactly same format are placed in a folder.Can we load these flatfile's data one by one to a single relational table by a single session??
How many file formats are supported to export data?
can u plz provide me oca sql dumps please i need them
What is BBED in Oracle?
Explain the dml?
What is tns name?
What is an oracle transaction?
What are the oracle built-in data types?
what is normalisation?what are its uses?
What is a table index?
What is a subquery?
How to view the tablespaces in the current database?
How to use fetch statement in a loop?
What is oracle data type?
How much memory your 10g xe server is using?