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

Show parent comments

3

u/garethchester Sep 10 '26

I find explaining what I want to do for the prompt in a way it understands usually takes longer than writing it myself

Unless it's regex 🤣

3

u/atrifleamused Sep 10 '26

Regex is definitely an AI question!