Datasets NBA dataset

NBA dataset

The NBA dataset contains stats of NBA games since 1949. It is regularly updated.

The dataset contains aggregated game stats (team_game_stats table) and individual player stats per quarter or overtime period (player_period_stats).

Have a ball! 🏀

Practice exercises

  • 1. Perfect 3 point games
    Start
  • 2. The best 3 point shooter of all time
    Start
  • 3. Most points in a game
    Start
  • 4. 3 point line
    Start
  • 5. One team players
    Start
  • 6. The biggest point difference in history
    Start
  • 7. The day Steph Curry scored his 3000th three pointer
    Start
  • 8. Playing at home vs playing on the road
    Start
  • 9. The longest game time without a single stat
    Start
  • 10. Most threes in a season
    Start
  • 11. Most triple-doubles in NBA history
    Start
  • 12. True shooting percentage
    Start
  • 13. Most 3 pointers in a regular season game
    Start
  • 14. Most free throw attempts in a regular season
    Start
  • 15. Order teams by the number of rings
    Start
  • 16. Single point triple-doubles
    Start
  • 17. Three-peats
    Start
  • 18. Best scoring duo
    Start
  • 19. The best free throw shooter
    Start
  • 20. The longest winning streak
    Start
  • 21. Games won by a single point
    Start
  • 22. How many teams overcame 3–1 deficit in playoffs
    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