Save up to $499! Grab all Python courses for $49 or all online courses we’ve ever launched for only $169. Only Feb 11-16. Happy Valentine's!
Basic CTEs
8. Syntax with columns – exercise


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


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.