Gce Model Questions Vol1 2024 Computer Studies Question 33
Practice objective / multiple choice question 33 from the 2024 Gce Model Questions Vol1 Computer Studies examination.
A table Employees(EmpID, DeptID, Salary, HireDate) contains 10,000 rows. Indexes exist on DeptID (clustered) and Salary (non‑clustered). The query is: SELECT DeptID, AVG(Salary) FROM Employees WHERE HireDate > '2020-01-01' GROUP BY DeptID HAVING AVG(Salary) > 50000 ORDER BY DeptID; Assuming 30 % of the rows satisfy the HireDate condition and there are 5 departments with roughly equal numbers of rows, estimate which index(es) the optimiser is likely to use and state how many rows will be examined during execution.
Answer Options
About This Question
This is Gce Model Questions Vol1 2024 Computer Studies Question 33. It is one of the objective questions from the 2024 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.