Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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.

=========

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions