r/learnSQL • u/kdmfa • Mar 31 '26
How relevant is learning SQL today?
I have a working knowledge of SQL (understand how tables are related, basic querying, etc) and I know which questions I’m trying to answer with data. The last 2 months I’ve been writing queries with AI and it’s insane how advanced it is. I think if you know which questions to ask and how to gut check results, there is likely little need to learn how to write the queries themselves. Do you think there is value is learning SQL today?
81
Upvotes
View all comments
Show parent comment
2
u/jshine13371 Apr 01 '26 edited Apr 01 '26
Those two things come together. You'll never have a good understanding of the data if you're not actively working with it (via SQL). Akin to never having a good understanding of speaking another language if you're not actively learning words, grammar, and phrases; and practicing it. AI can feed you full on translations but you wont become experienced for yourself to be able to speak that language. So learning SQL is helpful for yourself to learn the data, and common data problems.
Also, to your original question, you're currently in unknown unknowns experience with databases. In other words, there are things not only that you don't know, but you don't realize you don't know. (This is not a critique against you, it's expected as someone who is still learning.)
For example, a good looking, well written query, can perform perfectly fine against one database and perform so poorly it never returns results against another database, that's almost exactly the same database as the first one. AI will give you the code but it doesn't have access to everything it needs to give you the code in a guaranteed performant way for your specific database and data. That's where having knowledge of SQL and experience of working in databases (without dependency on AI) becomes important.
Cheers!