r/SQL • • Sep 09 '26

Discussion How much SQL do you still write manually?

With AI getting better at writing SQL, I’ve been wondering how much SQL analysts actually write from scratch these days.
Do you still write most of your queries manually, or do you use AI for things like joins, CTEs, debugging, optimization, etc.?
And has your use of AI actually changed how much SQL you need to know?

115 Upvotes

240 comments sorted by

View all comments

0

u/[deleted] Sep 09 '26

[deleted] — view deleted comment

5

u/Latentius Sep 09 '26

If you get it wrong, then you don't understand what's going on, and if that's the case, how can you possibly judge whether the code AI is generating is any good?

1

u/lalaluna05 Sep 09 '26

If you’re not getting it right, how do you know that what it’s delivering is?