r/SQL • u/NightRain3 • Aug 30 '26
MySQL good datasets for a project?
Hi, I'm looking for a dataset that has:
- Messy, real data, with enough messiness for proper data cleaning to be needed
- Enough information for actionable interesting insights
- Be related to something a typical business might care about
I did a project with the olist database and it was fine, but that database has been done to death. I tried contacting local small business for their data in exchange of a free data analytics report, but no luck, has someone tried that?
43
Upvotes
4
u/SQLBek Aug 30 '26
Hop over to kaggle.com. Tons to choose from there.
16
u/mikeblas Aug 30 '26
It's not so hard to find sample data and data sources to use for interesting side-projects, or just for practicing writing SQL.
In-product sample data
Most DBMSes come with sample databases. You can write lots of interesting queries against them, and usually a tutorial accompanies the database in the documentation.
Documentation for Microsoft SQL Server's samples
For MySQL:
For PostgreSQL:
Some websites are full of sample data sets. Why not download an interesting one, learn to load it up, and write your own interesting queries?
Dataset Websites
There are many websites which host data sets.
Third-party sample data
Of course, some sample data is built for generic tutorials, by third parties:
Practice Sites
There are some sites that let you write queries interactively with canned data, rather than having you download data to play with on your own.
Regular dumps
Some sites publish data by making their backups available, or dumping the data they use to make their own reports.
StackOverflow makes their developer survey data sets available each year.
Some governments make data about the city and its residents available openly:
Live data sources
Some data sources produce data live, as it happens. These are itneresting sources becaue they usually represent slowly changing dimensions, and will need to be accumulated or logged before being stored or processed.
General Transit Feed Specification (GTFS) data is provided by many metropolitain areas to describe movement of their transportation infrastructure; where are scheduled busses and trains right now?
Finding more
There's data everywhere! If you don't like these sources, you can try finding other data sets.
10
u/thecasey1981 Aug 30 '26
campaign finance data is what I trained myself on
10
u/Better-Credit6701 Aug 30 '26
Check out NOAA for data
3
u/eslforchinesespeaker Aug 30 '26
Don’t overlook the idea of generating your own. It’s a useful toolset, and skill. Natural data isn’t a reliable way to test your edge cases. You want to do it, because of the edge cases you overlooked. But you get a million records going thru the same fifty test cases. Your generated data gives you much more efficient code coverage.
You can make a respectable project out of it. You can use dictionaries and frequency distributions as part of your build.
2
u/mockg Aug 30 '26
https://collegefootballdata.com/
Here is something if you want something college football related.
2
u/mad_meh Aug 30 '26
Eurostat Database. I used this for many of my projects and it’s been great.
1
u/SantaCruzHostel Sep 02 '26
Honestly, the best is going to be data that you're interested in looking at. Personally when I get an itch for a personal db project I usually end up on the California state data sources site and find something there to compare counties or something local to me.
1
u/FewBag5257 Sep 06 '26
Get one month free ChatGPT plus subscription (it is available under promotional offer) and then give the detailed command to generate real messy dataset related to your domain.
I did the same and it gave me excellent result.
1
u/-edwoodward Sep 21 '26
Found this site a bit useful as it uses public datasets that are on Google Cloud.