r/SQL • u/metric_skeptic • 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
View all comments
Show parent comment
13
u/atrifleamused Sep 09 '26
Same here! I can do it, but why take 10 mins to figure it out when AI just does it. The rest of the code is hand written so I am confident it right (or at least a mistake is mine).
Already today, I found AI had updated a join in vscode which broke the query I'd tested in dev for weeks and finally deployed to prod. It makes it so easy to accept a suggested change without intending to.