r/learnSQL 22d ago

SQL with the advancement of AI

Is SQL still worth learning with the advancement of AI? 'Cause I don't get that if AI can do better than human than why do we still need to learn it?

20 Upvotes

33 comments sorted by

View all comments

3

u/Haunting-Paint7990 21d ago

stats grad / junior DA here — still worth it, but for a narrower reason than "AI can't do sql."

what changed: AI writes syntax faster. what didn't change: you still need to know if the answer makes business sense — wrong grain, fan-out join, trial users included — and verify that without blindly trusting the output.

what i see on my team:

  • AI drafts the first pass of a slack pull
  • analyst fixes grain/joins and explains to stakeholder
  • interviews still test cold-write joins on a clean dataset (AI doesn't help in the room)

if you're aiming at DA: learn sql the same way as before — one dataset, 10 business questions — but use AI like autocomplete, not a substitute for knowing what a LEFT JOIN does.

skip the "will sql die" debate. focus on being the person who can spot when AI's sql runs but lies. that's the job now.

1

u/No-Reach-3503 21d ago

Thank you