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

Instruction

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

Exercise

First, count the number of employees for each project with total number of hours_spent higher than 20. Then, find the average number of such employees for a given client. Finally, show the maximal_average alongside the client_id whom the maximal average concerns.