logo

Crowdly

Browser

Add to Chrome

Consider the following relation and SQL query Tables: EMPLOYEE(EmpID, Name, ...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Consider the following relation and SQL query

Tables:

EMPLOYEE(EmpID, Name, DeptID, Salary)

DEPARTMENT(DeptID, DeptName) 

SQL Query:

SELECT e.Name

FROM EMPLOYEE e

WHERE Salary > (

    SELECT AVG(Salary)

    FROM EMPLOYEE

    WHERE DeptID = e.DeptID

);

What does this query return?

More questions like this

Want instant access to all verified answers on moodle.spit.ac.in?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome