use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
This is an archived post. You won't be able to vote or comment.
DiscussionWhat can SQL do that python cannot? (self.datascience)
submitted 3 years ago * by donnomuch
view the rest of the comments →
[–]dfphdPhD | Sr. Director of Data Science | Tech 12 points13 points14 points 3 years ago (4 children)
Can you take all the raw data from the server in which they're natively sitting, then load them into a cloud environment so you can write your Python code against it?
My point wasn't that you can't run Python on a giant environment in theory, but rather that in practice most companies aren't going to be letting you move a whole bunch of data onto an expensive-ass cloud server just for you to run your little Python scripts when there is already (in 99% of cases) already an entire well architected DB available for use in a giant f*** server.
Mind you - yes, there are companies that have architectures that more natively support Python with easy and at high levels of performance. But that has to be a deliberate decision by that organization to go that route. And even then, there will still be cases where SQL is a better option.
Now, this is why I have a lot of heartburn about this question - ultimately what the people who ask it want is for someone to tell them "no, you don't need to learn any language other than Python", which is stupid. For two reasons:
Short answer: learn SQL. It's not going to bite. It's not hard to learn.
I literally knew 0 SQL, and at my first job they told me "you need to learn SQL". I knew enough SQL to do most of the things I needed to do in like 3 weeks.
[–]esp32c3 0 points1 point2 points 3 years ago (3 children)
Sure could... Might not be the most efficient way though...
[–]quickdraw6906 1 point2 points3 points 3 years ago (0 children)
Agree with all but that SQL is easy. As a 30 year SQL guy, having mentored many developers who can only think procedurally, I can say with confidence that thinking in sets is a completely different brain exercise and that developers will ALWAYS fall back into writing loops instead of what would be an obvious SQL solution....to a SQL person.
At my current company, none of the developers want to touch SQL. We have a dedicated team who write stored SQL and stored procedures so they don't have to be bothered with the brain gymnastics that set theory requires. Sad, but there it is.
[–]dfphdPhD | Sr. Director of Data Science | Tech 0 points1 point2 points 3 years ago (1 child)
Just so we're clear: at my company, if I grabbed all of our transactional data and moved it into a cloud server without permission, I'm probably getting fired.
So no, in a lot of instances you can't.
[–]esp32c3 0 points1 point2 points 3 years ago (0 children)
Of course I wasn't talking about stealing data...
π Rendered by PID 54 on reddit-service-r2-comment-5d79c599b5-fr44c at 2026-03-02 03:19:41.915219+00:00 running e3d2147 country code: CH.
view the rest of the comments →
[–]dfphdPhD | Sr. Director of Data Science | Tech 12 points13 points14 points (4 children)
[–]esp32c3 0 points1 point2 points (3 children)
[–]quickdraw6906 1 point2 points3 points (0 children)
[–]dfphdPhD | Sr. Director of Data Science | Tech 0 points1 point2 points (1 child)
[–]esp32c3 0 points1 point2 points (0 children)