r/SQL • u/IntelliBI2016 • 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
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.
13
u/Demistr 13h ago
It's not a year long endeavour, just learn the damn thing.
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:
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