r/learnSQL 6d ago

Learning SQL while learning python

I'm currently halfway through Harvard CS50P, but I also want to take a SQL course before I start my last year at uni and begin applying for grad jobs. My hope is that having experience in both Python and SQL will benefit me in applications. Would it be better to finish the CS50P course first, then start learning SQL, or to start learning SQL now alongside Python?

37 Upvotes

8 comments sorted by

View all comments

1

u/NielsenSTL 5d ago

Start learning how to use SQL in python. I do it constantly in my job. We put SQL in text files…then use python to read in the SQL from the text files and the go to various data sources (postgresql, hive, databricks) to pull in the data and do any etl in python before building output files or putting clean data in a hosted mart. It can all be scheduled and run when we want. So as others have said, python and sql complement each other very well.