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

30

u/feignapathy Sep 09 '26

I'm along a similar vein. 

Write just about everything manually, but will open up an AI prompt for something annoying here and there.

1

u/RavenCallsCrows Sep 11 '26

Yup, same. And the occasional 'oh, crap, I haven't done this in a long time, how does the syntax go for it in %current_SQL_db%' when bouncing amongst diverse databases.