On January 21th at 14:15 UTC , progression through exercises will be unavailable for 10 minutes due to a planned maintenance break.
Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Introduction
Basic CTEs
8. Syntax with columns – exercise
Summary

Instruction

Good. Now it's your turn to write the query from scratch!

Exercise

Count the number of projects for which the total sum of donations exceeds 50% of the MinimalAmount. Name the column CountProjects.

Stuck? Here's a hint!

In the CTE, use SUM(Amount). Remember, you will have to give a name to this column.