Question: Question No . 8 Select Max ( sal ) , deptid , deptname from dept groupby deptid, deptname what would be the output of the

Question No.8
Select Max(sal),deptid , deptname
from dept
groupby deptid, deptname
what would be the output of the above query
It will display all departments from dept table
It will display all dept_id and dept_name along with employee details who is g
It will display all dept_id and dept_name along with highest salary
It will throw an error
 Question No.8 Select Max(sal),deptid , deptname from dept groupby deptid, deptname

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!