I've searched for a good database to analyze NBA players and teams, and couldn't find one. So, I've been working on an app that builds a SQLite / Postgres / MySQL database for the NBA.
You can get the Windows alpha here: https://github.com/mpope9/nba-sql/releases/tag/v0.0.6
For OSX / Linux, you need to run it from the commandline.
This is very much in the alpha phase, but development is happening at a steady pace in my free time. I've been able to learn some interesting things already, there are examples in the wiki here. I have more advanced example queries that I'm still working on, and have yet to add them to the wiki if any are interested. I'd love some feedback, if anyone has experience with SQL or databases. nba-sql will build a SQLite database by default, but it also supports Postgres and MySQL. You run the application to build the database, then use something like DBeaver to query it.