Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
When window functions are evaluated


Great. The GROUP BY clause is also calculated before window functions. This means that we can't group by the values obtained with window functions. Let's check that.


Try to run the template query. The idea is as follows: we want to divide auctions into four equal groups (quartiles) based on the number of views and show the minimal and maximal value for each group. Will this query work out?

When you're done, press I'm done. Next exercise to continue.