r/SQL • • 1d ago

BigQuery Is SQL becoming obsolete?

I had an interest with sql when mentioned by a minor subject of mine and its relation to my current major management accounting. I would like to learn and add that to my future resumé but I can help but feel its useless now because of AI where english words are automatically translated into codes. So is there a demand for this in the future? Or should I focus my resources elsewhere?

0 Upvotes

24 comments sorted by

22

u/you_are_wrong_tho 1d ago

no

11

u/the_extralargeelectr 1d ago

Honestly I’m not even sure SQL can become obsolete in the same way a hammer can’t. It’s just too fundamental. AI might translate English to code, but someone still has to architect the database, figure out why a query returns 4 million rows instead of 12, and argue with the finance team about what “gross revenue” actually means in the join logic. Accounting + SQL is a solid combo, every ERP system under the sun has a database you’ll want to pull custom reports from. Learn it, it won’t hurt your resume.

1

u/ExcitingTalk4848 15h ago

I still catch AI hallucinating joins and handing back wrong numbers pretty regularly. In accounting you have to check that the query pulled the right rows before the figures go to management, so I always compare row counts and totals against the source before trusting a result. If you know SQL, AI is a fast assistant. If you don't, you're just trusting it blindly.

4

u/sreekanth850 1d ago

yes, even databases are obsolete.. /s.

4

u/juu073 1d ago

SQL is to engrained in everything that it will never become obsolete.

7

u/Thlvg 1d ago

No.

3

u/CHILLAS317 1d ago

Lol no

2

u/El_Games 1d ago

For someone in your profession the skill might be/become obsolete. Question is whether it was ever more than nice to have. However, as someone who works with databases a lot I would not let some guy and his Claude buddy roam the database. You would get a schema, limited rights and only data you requested, after a discussion about why you need it.

3

u/Pickletickle_ 1d ago

never. We have full ai integration and I still write sql daily.

2

u/Enigma1984 1d ago

Eventually everything will just be a chat box and no one will write code. But that hasn't happened yet. As of today millions of people are still writing, updating and learning SQL. So no, it's not obsolete.

1

u/cthulhufhtagn 1d ago

Comes to tech-specific sub.  "Is tech specific to sub obsolete?". Of course no is the answer.  If there's still an adobe flash sub they're saying no too.

But...the answer is no.

1

u/Tsui_Pen 1d ago

Depends what you mean by “this”. For one thing, SQL is and always has been “natural language”. It’s just structured natural language. So if you know how to ask for it, you know (essentially) how to write it. 

1

u/basura_trash 1d ago

You asked the wrong question. No, there is no indication that SQL is becoming obsolete, either now or anytime soon. What you're really asking is whether you should learn it.

The answer is absolutely yes.

Keep in mind that AI is just a tool. It will do what you ask, NOT necessarily what you mean. That distinction is important. Not only do the results need to be verified, but the code itself needs to be reviewed and understood.

How often does AI get it wrong? Not terribly often, assuming you're good at prompting and providing the right context. But it happens often enough that understanding SQL is still very much warranted. You need to know enough to recognize when AI gets it wrong, why it's wrong, and how to correct it.

1

u/Thiondar ORACLE 1d ago

Never will

1

u/gumnos 1d ago

just store all your data in weight-vectors and then query the data you want from your local model. Absolutely nothing could go wrong with that, returning inaccurate data. 👍

1

u/CreativeGPX 1d ago
  1. Even when AI writes all of the code, any competent developer needs to be able to read and understand that code to know if it's doing what it should be doing. Also, knowing how databases and SQL work will help you even know what to ask the AI to do.
  2. Learning SQL doesn't take that long. We're not talking about getting a 4 year degree in something that might go obsolete, so you shouldn't be that worried about accidentally spending a little bit of time learning something that some day you won't have to use.

1

u/mattreyu Data Scientist 1d ago

lol, lmao even

1

u/WorldOfUmbro 1d ago

SQL not, yet, the usage maybe more and more. The same was with dashboards. People don’t need to know SQL to read the dashboard, but someone has to set it up. We now have a lot of Genie Agents, but someone will need to curate them. Don’t expect that to change. People with SQL knowledge will become the safeguards over analytics, ETL and BI, just like we’re doing for Genie

1

u/ceeej777 1d ago

In the way it has previously been used, maybe. But just look at the amazing tooling around to help you learn it quicker. I used to have exams years ago where you had to write queries to generate a certain output. Now you have AI to validate you 90% of the time. Even though I’m asking the Databricks Genie to translate most of my english to queries at work, if I don’t know any SQL how could I possibly be trusted to validate and complete that work

1

u/UnluckyManner9152 22h ago

Agree. For accounting, the most useful habit is reconciling: before you trust any query, AI-written or not, check its total against a number you already know, like the trial balance for that period. A join that double counts looks perfectly reasonable until the totals don't match.

1

u/Glitch_In_The_Data 4h ago

SQL is still one of the most in demand skills in data and it’s not going anywhere soon. What AI tools like Genie actually do is translate your English to SQL, which means someone still needs to verify the output, tune it, and understand what the query is doing. Think of it like calculators and math. Calculators didn’t kill the need to understand the numbers, they just raised the bar for what you’re expected to do with them. Knowing SQL alongside management accounting is a strong combo because finance teams run on data… and you’d be the person who can pull their own answers instead of waiting on someone else.

1

u/diagraphic 1d ago

Hell no.

1

u/thecasey1981 1d ago

lol no. designing queries with user prompted text for modification through chat agents is a great skill