To 🔥 celebrate the holiday season, Also check out our NEWLY launched Annual plan (Up to 50% off). Use coupon code THANKSGIVING15 and enjoy additional 15% off all paid plans. Coupon expires at 2020/11/30 .
2. Top 3 movie categories by sales easy

Instruction

  • Write a query to find the top 3 categories that generated the most sales.
  • The order of your results doesn't matter.

Table: sales_by_film_category

Total sales by movie categories.

  col_name   | col_type
-------------+----------
 category    | text
 total_sales | numeric

  

Sample results

category
-----------
Category 1
Category 2
Category 3