r/askdatascience • u/After_Courage6419 • Sep 15 '26
Is SQL still underrated for data science?
There’s so much attention on Python and machine learning that SQL sometimes feels like the less exciting skill. But in actual data work, SQL seems incredibly important. For experienced data scientists, how much SQL do you use in your day-to-day work compared with Python?
5
u/JPlantBee Sep 15 '26
The majority of code I write is SQL. My job is pretty broad though, sometimes analytics engineering, sometimes dashboards, sometimes DS.
Anyway, if I were hiring for a data scientist and they didn’t know SQL, that would be an instant red flag.
2
u/thequerylab Sep 15 '26
Honestly I use SQL way more than I expected when I started doing data work.
There were many times where I thought the issue was in Python/model but later found out it was a SQL join or some NULL values or duplicate rows changing the numbers.
Python gets more attention because it looks more interesting but in real projects a lot of time goes into getting the data right first.
And thats mostly SQL.
2
1
u/DuxFemina22 Sep 16 '26
ALL👏THE👏 TIME👏. It’s hugely important- don’t let anyone tell you otherwise. To get the data I model, I must write the sql first to retrieve it/create the pipeline and also build the infrastructure for the output as well.
1
u/big_data_mike Sep 16 '26
I’d say I’m intermediate level with SQL and advanced with Python data science packages. I mostly do small to medium data so I don’t need super optimized queries. When I do actual big data it’s mostly timescale so that does a ton of the sql for me.
1
u/lattice_defect Sep 16 '26
its the GOAT.. datascience in the last decade has been a bunch of buzzwords and bullshit designed to sell you a solution because sql was hard.. now AI write beautiful SQL.. data science is a toolkit not a job anymore.. its more advanced statistics but even that man the packages are all abstracted away
1
1
u/met0xff Sep 16 '26
DS can mean anything. For years I've only worked with audio and video and my SQL usage was perhaps sometimes grabbing some metadata or when writing some human evaluation framework. And for those things the standard basics everyone knows anyways that's always been fine.
Completely different if you're in other fields obviously. At my current company all the snowflake SQL stuff is with the analytics team.
1
u/lolniceonethatsfunny Sep 17 '26
i don’t really use much SQL apart from pulling data into another part of a pipeline, and if I am writing SQL it’s usually in R through ODBC
7
u/gpbuilder Sep 15 '26
It’s never been underrated, sql is the language used majority of the time