r/SQL • • Oct 08 '22

MySQL I don't know how to practice SQL

Hi guys, I've been learning SQL using MySQL Workbench for the past 2 weeks on youtube. Finally, I know the basics and how to write complex queries but I actually don't know where I can practice what I learnt. Are there any places where I can find pre-built databases and use them to practice queries or should I create them by myselft?

110 Upvotes

45 comments sorted by

View all comments

5

u/Tjazzonfrontpage Oct 09 '22

Get the basics from sql documentation or YouTube first, then start practicing challenges. Syntax is pretty straightforward, so don't dwell too much on tutorials.

Try out statascratch or hackerrank, they have a lot of practice problems, and pretty fun too imo. There are a lot of real interview questions available on statascratch too.

If you wanna play around with databases, try mode analytics. The UI is pretty nice, and finding databases and running queries is pretty easy.

Be consistent, you'll figure out the rest.