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
128
u/BrupieD Sep 09 '26
AI requires way too much context to understand my goals from my company's db. By the time I've filled in enough of my requirements for AI to be successful, I can just write the SQL myself.
I do a lot of ad hoc query writing that is often not very complicated. I've already internalized enough table and appropriate join information about those tables. SQL seems like the least helpful thing AI can do for me.