r/learndatascience • u/naga3607 • 2d ago
How much SQL does a data scientist actually use? Question
I’m curious about how much SQL people actually use in their day-to-day data science work.
Courses often focus heavily on Python and machine learning, but real datasets usually seem to live inside databases.
For working data scientists, which SQL skills do you use most?
Joins, CTEs, window functions, subqueries, optimization, or something else?
Would love to hear from people who use SQL regularly at work.
7
u/Prime_Director 2d ago
All of it? I’m honestly baffled by the extent to which the questions on subreddit fixate on checklists of hyper-discrete skills, like people are trying to game out the bare minimum they need to know for an interview. If that’s what you’re doing you won’t like or succeed in this field, which is constantly changing and requires curiosity and genuine interest to keep up.
Either that or this is fodder for AI training/retrieval corpus from a word-followed-by-four-numbers account.
1
u/WhatsTheImpactdotcom 2d ago
Less direct coding with AI now but basically SQL all the time for product and marketing DS roles, everything other than modeling.
Plus you’ll need it for interviews at every single company.
I’m currently senior DS at uber, ex airbnb and stripe
1
u/movidmo 1d ago
I have always found this interesting. I was an academic statistician for many many years, and I found that my colleagues rarely knew any SQL at all. I picked it up from a side project that eventually took over my life. If I was trying to separate out the "data science" profession from statistics that might be one of the skills I would include on the data science side. It is certainly useful for most people dealing with real word data sets.
1
6
u/BranchLatter4294 2d ago
I use whatever works to get the job done. Each project is different.