Question: DATABASE DESIGN PROBLEMS. READ AND ANSWER ALL PLEASE. THANKS. ========= Which of the following query will result in an error? A - select dept_id, avg(salary)
DATABASE DESIGN PROBLEMS. READ AND ANSWER ALL PLEASE. THANKS.
=========

Which of the following query will result in an error? A - select dept_id, avg(salary) from employees group by dept_id; B - select avg(salary) from employees group by dept_id; C - select dept id, job_id, avg(salary) from employees group by dept _id; select dept id from employees, (select 1 from dual) t; select dept_id from employees where salary > avg(salary); F- None of the above
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
