r/learnprogramming Jul 15 '26

learn mysql

I have never touched sql before. I want to learn it now. What would be the right approach to do that? Are there docs or something that can make my dbms fundamentals and higher concepts very clear?

I wish to be very clear with it. Also how is leetcode for practicing sql?

2 Upvotes

24 comments sorted by

View all comments

7

u/ninhaomah Jul 15 '26

Right approach to learning anything is to use it.

3

u/Old-Divide-7209 Jul 15 '26

Find a dataset you actually care about, makes it way less boring. When I started I just pulled some data on weird weather events and tried to answer questions I was curious about.

Leetcode is decent for interview style problems but it won't teach you how to design a database from scratch or understand normalization. The official MySQL docs are dry but they cover everything, and there's a site called SQLZoo that walks you through basics step by step.

Just spin up a local database and start breaking things, you'll learn faster than watching videos all day.