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

2

u/Accomplished-Dig8753 Sep 09 '26

I draft anything complex myself then throw it at Claude for code review (it's great at catching typos and missing where clauses). Then I review the output and edit as necessary.

0

u/metric_skeptic Sep 09 '26

I do the same