Gce Model Questions Vol1 2019 Computer Studies Question 9

Practice objective / multiple choice question 9 from the 2019 Gce Model Questions Vol1 Computer Studies examination.

Gce Model Questions Vol1 2019 Computer Studies Objective / Multiple Choice Hard Difficulty
Question 9 GCE_MODEL_QUESTIONS_VOL1 • 2019 • COMPUTER_STUDIES • objective

Consider the following two tables. Employees(EmpID, DeptID, Salary) \[\begin{array}{c|c|c} \text{EmpID} & \text{DeptID} & \text{Salary} \\hline 1 & 10 & 50000 \\ 2 & 10 & 60000 \\ 3 & 20 & 55000 \\ 4 & 20 & 65000 \\ 5 & 30 & 70000 \end{array}\] Departments(DeptID, DeptName) \[\begin{array}{c|c} \text{DeptID} & \text{DeptName} \\hline 10 & \text{Sales} \\ 20 & \text{Marketing} \\ 30 & \text{HR} \end{array}\] Write an SQL query that lists each department name together with the average salary of its employees, but only for departments where the average salary exceeds 58 000. Based on the data above, which department name(s) will be returned by the query? List the names separated by a comma.

Answer Options

Correct Answer A. Marketing, HR
B. Marketing, Sales
C. HR, Sales
D. Sales, Marketing
Correct Answer
A
Correct Option:
Marketing, HR

About This Question

This is Gce Model Questions Vol1 2019 Computer Studies Question 9. It is one of the objective questions from the 2019 Gce Model Questions Vol1 Computer Studies examination.

Difficulty level: Hard .

Master the Exam!

You've seen a preview, but there are thousands more questions plus AI tutor to break down complex solutions.

Unlock Full Access Available for Android & Windows
Chat with Support