r/SQL • • 16h ago

MySQL Is SQL still the first thing to learn for analytics in 2027?

Yes, SQL is still a practical first skill.

Usage data supports that choice. SQL passed HTML/CSS to become the second most-used language in the 2026 Stack Overflow survey, at 58% (Stack Overflow 2026).

The exam requirements also support it. DP-600 lists SQL, KQL and DAX for querying and gives 45 to 50% to preparing data (DP-600 study guide).

AI tools write SQL, but 48% of respondents say they trust AI output when they can easily verify it (survey data). Verifying a query takes SQL.

Have AI tools changed how much SQL you write by hand?

8 Upvotes

19 comments sorted by

6

u/the_figs_and_flour 16h ago

Even with AI writing queries, if you can't read the output you're just a toddler with a calculator.

0

u/PickledDildosSourSex 5h ago

Yes but I'd say there is much less value in rigorous SQL these days. Learn the concepts well and the underlying data structures so that you know what you need and what to ask when you're working with SQL but, as a 20+ year vet of the tech industry, I firmly believe the value of rigorous SQL practice and skill is going WAY down unless you want to be a DE/AE, and even then it's not clear.

AI is extremely good at SQL. If you're a consumer of data products/models more than a builder of them and you know enough to think about DBA concepts and--maybe--optimization, you should be letting AI do the rest.

It's a bit like Excel. There was a time where you'd have to do all those functions by hand or calculator, but no one one is practically doing any of that anymore. It's obviously important to understand what, say, a SUMPRODUCT() is doing or a basic CORREL() or whatever, but knowing the concept is way more important than the underlying derivations. Anyone outside of theorists (which I also came up as on the Pure Maths side) investing significant time on those derivations is wasting their time.

13

u/Demistr 13h ago

It's not a year long endeavour, just learn the damn thing.

4

u/DrShocker 6h ago

This is thing thing that needs to be said on so many subreddits. If instead of worrying about whether to learn the damn thing, you spent the time learning it, then you'd already be ready.

3

u/KasrkinTrooper 15h ago

I don't work as analytic, SELECT queries are not that often as writing stored procedures and functions, so I rarely use AI tools for writing code itself. Searching documentations or similar tasks - yes, but I never let AI generated code itself into my databases. Saw too many bugs in SQL code generated by AI to sleep well after let those scripts fire in my env. Also after dozen of weeks working with AI agents I noticed that my focus, knowledge of project and familiarity with actual code was impaired that much that I didn't have mental picture of code, project and dependencies in my head anymore. So now I basically use the agents as extended search engine.

And I work with SQL and programming languages many years, I don't even want to think what AI coding would do to fresh programmers and their skills.

3

u/UnluckyManner9152 15h ago

For me it's less about writing the statement and more about explaining to the AI exactly what I need. Sometimes it's easier to write the query myself than to explain it

3

u/Maleficent-Yak8274 15h ago

Yess I barely write queries from scratch anymore, but I still read every single one before running it

1

u/ToastieCPU 14h ago

I haven't written SQL by hand in quite some time. AI generates most of it for me. My job is usually to review the execution plan, make sure there are no unnecessary table scans, and determine whether additional indexes are needed.

I also think periodically pulling analytics from SQL and generating reports is more or less dead. AI can produce complex queries and generate polished reports with metrics tailored to the use case. I've shifted my focus toward building systems that efficiently collect and expose data, both for my own use and through MCP for management, so they can simply ask for a report and have it generated on demand.

1

u/American_Streamer Select Star 13h ago

Here are the currently most important skills for analytics jobs in the US market, ranked by employer demand across job postings and hiring reports:

  1. SQL
  2. Data Visualization & BI Tools (Power BI, Tableau)
  3. Microsoft Excel / Spreadsheets
  4. Communication, Storytelling & Business Acumen
  5. Programming (Python or R) & Statistical Analysis
  6. Data Cleaning, Cloud Warehousing & AI Literacy

Regarding AI, it is rarely a standalone job requirement in standard analytics postings, it acts more as an expected baseline accelerator than a core credential. While explicit AI mentions appear in only about 22% of US Data Analyst postings (compared to 87% for Data Scientists), employers increasingly assume you know how to use AI tools on the job.

1

u/Discordbothost 12h ago

Write one weekly active-users query by hand and test it with an event just before midnight Sunday. If changing the reporting time zone moves that event into another week, you've found something to pin down before trusting the chart.

1

u/peccator2000 8h ago

I have always written my own SQL. I don't even trust ORMs.

1

u/StoicSigma 8h ago

if i need to do a ad hocquery, why would i ask AI if i know the tables/columns if i can do it myself? i could understand doing it for complex queries for a process but..

1

u/Intelligent-Size-389 5h ago

Don’t get the point of learning sql of AI can do it very quickly now no ?

1

u/ceeej777 4h ago

It obviously is still the first thing but when things like Genie Agents in Databricks can make natural language into benchmark grounded SQL, I find it almost equally important to build strong semantics and data quality pipelines (if you still consider that part of analytics)

-2

u/thistlebeard86 16h ago

By hand? This is 2026

-2

u/regprenticer 15h ago

I've never used SQL for analytics. I worked as a statistical analyst for a bank for 10 years (until my job was offshored in 2018). They would only allow the use of excel as a "data visibility SOx control".

Ionce had a 6mn record file to ingest to excel and I had to wait 4 weeks for special permission to manipulate data with MS Access.

1

u/thistlebeard86 10h ago

My point was no coding is by hand now, everyone I know is using Claude.