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

4

u/Gm24513 Sep 09 '26

If you do sql with AI you're just begging to get fired or worse.

5

u/stormmagedondame Sep 09 '26

Absolutely in my office we have a lot extremely sensitive data in our databases. Linking or uploading anything to AI is a really fast way to get fired and become unemployable due to violating a NDA/DUA.

1

u/outlier_fallen Sep 11 '26

Most large companies are hosting their own instances so the data never leaves their ecosystem. Is your company not doing that?

1

u/Gm24513 Sep 09 '26

Yeah I had a genius a couple days ago asking for some work to be done for them and suggested uploading the dataset as a table to chat gpt to make an append and update in Microsoft access. Absolute atrocity.

-4

u/metric_skeptic Sep 09 '26

I don’t really agree with that. If you use AI properly, it can make the boring parts of the job much faster and free up time for more interesting work. You can spend that time on better analysis, more ideas, or just taking on things you wouldn’t have had time for before.

4

u/Gm24513 Sep 09 '26

You don't have to agree. If you use AI for SQL you're a fucking moron

5

u/AhBeinCestCa Sep 09 '26

I agree 😂. Bro prolly never worked in a company and just try to justify his « vibe coding ». SQL is more easy than prompt engineering

1

u/CascadeDuck01 Sep 09 '26

Why do you say that? It can be useful as a tool, not a crutch. Anything that helps you work more efficiently shouldn't be snubbed in my opinion.

0

u/metric_skeptic Sep 09 '26

Don’t become so nervous just keep writing your SQL 😊

-2

u/Gm24513 Sep 09 '26

Go ahead and delete prod data because you fucked up the one time you didn't worry about double checking.

2

u/metric_skeptic Sep 09 '26

Why do you think that people who use AI don’t double check or correct its answers? Don’t take it so personally. It’s just a discussion

-1

u/Gm24513 Sep 09 '26

The ones that I have interacted with do not do it all the time once they get complacent. It's a stupid risk for no benefit. SQL is pretty fucking easy.

0

u/geek180 Sep 10 '26

You don’t understand how to use AI in a development workflow.