Datasets E-commerce dataset

E-commerce dataset

This data warehouse is inspired by an E-commerce website like Amazon. đź›’

Our E-commerce website allows vendors to sell items in multiple categories. Users can add as many items as they want to a cart and then purchase a cart with/without a discount code. Users also can return items and leave reviews.

Practice exercises

  • 1. Counting subcategories in an online store
    Start
  • 2. Percentage of purchases with discount codes
    Start
  • 3. Most popular items in E-commerce store
    Start
  • 4. Categories’ items distribution
    Start
  • 5. Percentage of users who leave reviews
    Start
  • 6. Average number of items per cart
    Start
  • 7. Top grossing month of the year
    Start
  • 8. Measuring feature adoption
    Start
  • 9. Average price per cart
    Start
  • 10. Time between purchases
    Start
  • 11. Product ratings distribution
    Start
  • 12. Count users with identical names
    Start
  • 13. E-commerce power users
    Start
  • 14. Top rated products
    Start
  • 15. Items per cart year-over-year dynamics
    Start
  • 16. Naive sentiment analysis
    Start
  • 17. The biggest category
    Start
  • 18. Vendor with the highest refund rate
    Start
  • 19. Distribution of users by country
    Start
“well worth the money”

Fluent in SQL in a month

Master Data Analysis with SQL with real life examples from Product Management, Marketing, Finance and more.
TRY SQL HABIT FOR FREE
SQL Habit
Pricing For companies Consulting For Students For Product Managers For Marketers For Data Analysts Blog Mock Interviews Forum Job Board Data Analysis Skill test SQL MDN Docs AI Coach
About
Meet the author How it works FAQ Table of Contents Practice Exercises Datasets Metrics & KPIs Reference User reviews
Information
Privacy Policy Terms of Service Cookie Policy Acceptable Use Policy Support Partners
© 2025 SQL Habit, made with ❤ by Anatoli Makarevich