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.
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.
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.
Here are the currently most important skills for analytics jobs in the US market, ranked by employer demand across job postings and hiring reports:
SQL
Data Visualization & BI Tools (Power BI, Tableau)
Microsoft Excel / Spreadsheets
Communication, Storytelling & Business Acumen
Programming (Python or R) & Statistical Analysis
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.
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
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.
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.
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..
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)
As someone who didn’t as a 2022 grad DO IT. They may try to replace analytics with vibe coding, but knowing the base logic and being able to spot errors in the code are crucial and make you a better hire
I let AI draft boilerplate CTEs and window functions, then audit every join and filter by hand. LLMs still hallucinate subtle fan-out bugs that inflate metrics without throwing an error, so you can't skip knowing SQL. I write less syntax from scratch, but I spend the same time verifying logic.
Core skill set?... Yes First skill set?... Maybe Only (query) skill? ... No
SQL standard still covers the "big four" in data: query, manipulation, definition, control. So covering SQL covers the keys in data field (pun intended), whether analyst or not. Plenty of other languages cover querying & more, thus SQL isn't a required language to learn, at least for analytics.
To say, SQL is no long the only engine that does the "big four" but still the most (in)famous / recognizable. Most folks who know SQL could get by in BigQuery, vice versa, etc. Depending on what analytics means to your project, you might not use SQL but SQL patterns will be plentiful.
The paradigms that SQL covers are necessary & good first steps .... But one could cover skills in various other formal language(s)
I write way less from scratch now, but I check more. AI drafts it, then I line up the output against expected results on the contract key and see which field drifted. The part still needs real SQL, so just learn it
I’m not sure you need to write sql by hand anymore, but what you still need is ability to read it. But you won’t get there until you learn how to write :)
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.
Sql stays a first skill for analytics becuase the data still lives in tables since dashboards and note books keep circling back to joins filters and grouping. Bootdev could help pair Sql with programming docs also teach the clre well
6
u/the_figs_and_flour 7d ago
Even with AI writing queries, if you can't read the output you're just a toddler with a calculator.
25
u/Demistr 6d ago
It's not a year long endeavour, just learn the damn thing.
3
u/KasrkinTrooper 7d 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.
2
u/American_Streamer Select Star 6d 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.
3
u/UnluckyManner9152 7d 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 7d ago
Yess I barely write queries from scratch anymore, but I still read every single one before running it
1
u/ToastieCPU 6d 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/Discordbothost 6d 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 6d ago
I have always written my own SQL. I don't even trust ORMs.
1
u/StoicSigma 6d 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 6d ago
Don’t get the point of learning sql of AI can do it very quickly now no ?
1
u/ceeej777 6d 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)
1
u/isad5877 6d ago
As someone who didn’t as a 2022 grad DO IT. They may try to replace analytics with vibe coding, but knowing the base logic and being able to spot errors in the code are crucial and make you a better hire
1
u/Altruistic-Rich8799 6d ago
I let AI draft boilerplate CTEs and window functions, then audit every join and filter by hand. LLMs still hallucinate subtle fan-out bugs that inflate metrics without throwing an error, so you can't skip knowing SQL. I write less syntax from scratch, but I spend the same time verifying logic.
1
u/madad80s 5d ago
It's easy, just go learn it. And Yes, I wouldn't hire an Analyst to doesn't know basic SQL
1
u/MikeE21286 5d ago
Yes
1
u/BattleBackground6398 4d ago
Core skill set?... Yes First skill set?... Maybe Only (query) skill? ... No
SQL standard still covers the "big four" in data: query, manipulation, definition, control. So covering SQL covers the keys in data field (pun intended), whether analyst or not. Plenty of other languages cover querying & more, thus SQL isn't a required language to learn, at least for analytics.
To say, SQL is no long the only engine that does the "big four" but still the most (in)famous / recognizable. Most folks who know SQL could get by in BigQuery, vice versa, etc. Depending on what analytics means to your project, you might not use SQL but SQL patterns will be plentiful.
The paradigms that SQL covers are necessary & good first steps .... But one could cover skills in various other formal language(s)
1
u/quietgarden302 4d ago
I write way less from scratch now, but I check more. AI drafts it, then I line up the output against expected results on the contract key and see which field drifted. The part still needs real SQL, so just learn it
1
u/querylabio 2d ago
I’m not sure you need to write sql by hand anymore, but what you still need is ability to read it. But you won’t get there until you learn how to write :)
1
u/Secure-External-151 2d ago
Where is best way to learn SQL?
1
u/TravelingSpermBanker 2d ago
AI can do SQL so easily.
That 52% of respondents who don’t trust ai generated SQL are bottom level analysts
-2
u/thistlebeard86 7d ago
By hand? This is 2026
0
u/Otherwise-Ambition80 4d ago
Sql stays a first skill for analytics becuase the data still lives in tables since dashboards and note books keep circling back to joins filters and grouping. Bootdev could help pair Sql with programming docs also teach the clre well