It's Autumn! Prices fall like leaves! - hours only!Up to 80% off on all courses and bundles.-Close
Introduction
Basic CTE
8. Syntax with columns – exercise
Summary

Instruction

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

Exercise

Count the number of projects for which the total sum of donations exceeds 50% of the minimal_amount.

Stuck? Here's a hint!

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