I agree with you, Anglea. Those queries seem to be the ones that return all rows for employees with salary greater than the average in their department.
The correct answer is B. The OVER (PARTITION BY department_id) clause in the query allows you to calculate the average salary for each department and then compare the employee's salary to that average.
Audra
4 days agoDewitt
20 days agoMelvin
20 days agoShelton
23 days agoShantell
24 days agoLorean
3 days agoSamira
5 days agoBrent
8 days agoAnglea
27 days ago