Evaluation Order and Common Problems
Window functions and GROUP BY
Summary and Review
20. Exercise 1

Instruction

Let's get started!

Exercise

Divide the books into four groups based on their rating. For each group (bucket), show its number (column Bucket), the minimal (column MinRating) rating, and the maximal (column MaxRating) rating in that bucket.