SQL with Kiko Palomares

Offline SQL lab

Query a fictional video game shop. The database runs in this file, even offline.

SQLite
RESULTReady
Ten offline SQL challenges
  1. Which game is the most expensive, and how much does it cost?
  2. Which games cost €30 or less? List them from cheapest to most expensive.
  3. Which orders were placed in November 2026? Show them in date order.
  4. How many games are in the catalog, and what is their average price?
  5. Which game IDs have the most copies sold?
  6. For each order line, which game was sold, on what date, and at what price per copy?
  7. Which customers have yet to place an order?
  8. For each month, how much revenue did the store earn, how many copies did it sell, and how many orders did customers place?
  9. What is the average order value if you count each order just once?
  10. Rank the games by revenue. Show the number of copies sold and the number of orders for each game, including games with no sales.