i want department wise maxmum salary and empolyee name
Answer Posted / kk
SELECT d.DEPARTMENT_NAME,max(e.salary) from HR.EMPLOYEES e
join HR.DEPARTMENTS d
on e.DEPARTMENT_ID=d.DEPARTMENT_ID
group by d.DEPARTMENT_NAME;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How a tablespace is related to data files?
How to rollback the current transaction in oracle?
What is the difference between the Oracle ODBC driver and a Microsoft ODBC (Open Database Connectivity) Driver?
What is oracle thin client?
why should i declare foreign key constraint as self relation instead of binary relation in tables ?
If a parameter is used in a query without being previously defined, what diff. exist betw. report 2.0 and 2.5 when the query is applied ?
How to execute a stored procedure in oracle?
What happens to the indexes if a table is recovered?
Explain the use of online redo log files in oracle.
What privilege is needed for a user to create indexes in oracle?
What is MTTR advisor in Oracle?
what are the default admin accounts in Oracle 10g ?
What is the data type of dual table?
How to execute a stored program unit?
what are bitmap indexes? How does they work?