MCQs>IT & Programming>ASP.NET With SQL Server> Examine the data in the EMPLOYEES table given below: LAST_NAME DEPTARTMENT_ID SALARY ALLEN 10 3000 MILLER 20 1500 King 20 2200 Davis 30 5000 Which of the following Subqueries work?
ASP.NET With SQL Server MCQs
Examine the data in the EMPLOYEES table given below:
LAST_NAME DEPTARTMENT_ID SALARY
ALLEN 10 3000
MILLER 20 1500
King 20 2200
Davis 30 5000
Which of the following Subqueries work?
Answer
Correct Answer: SELECT * FROM employees where salary > (SELECT MIN(salary) FROM employees GROUP BY department_id);
Explanation:
Note: This Question is unanswered, help us to find answer for this one