Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Introduction
Quiz
8. Nested CTEs with a subquery
Summary

Instruction

Nice! How about another nested CTE, this time with a subquery?

Exercise

First, count the number of employees for every project with a total number of hours_spent that's higher than 20. Then, find the average number of such employees for a given client. Finally, show the maximal_average alongside the client_id to which the maximal average applies.