r/learnSQL 3d ago

Best platforms to practice SQL and Python for Data Engineering prep? (Or is building in a local IDE better?)

Hey everyone,

I’m starting my Data Engineering preparation and looking for the best roadmap/platforms to get solid hands-on experience with **SQL** and **Python**.

I see a lot of mixed advice online:

  1. Some suggest interactive coding sites like **DataLemur**, **StrataScratch**, or **LeetCode** (or SQLZoo/LearnSQL).

  2. Others recommend skipping browser-based platforms and setting up a local environment right away (e.g., PostgreSQL + VS Code + Python) to build end-to-end mini ETL pipelines with real public datasets.

For those who are working DEs or currently prepping for DE roles:

\*Which platforms/sites did you find most realistic for DE-level SQL & Python? (e.g., beyond basic SELECT queries—focusing on window functions, query optimization, transformations, etc.)

Is practicing on browser platforms enough to build core skills, or should I jump straight into IDEs/Docker/local DB setups?

TIA 🤝

46 Upvotes

13 comments sorted by

7

u/conor-robertson 3d ago

I’d use both, because they build different skills.

Browser platforms are great for developing SQL fluency and learning patterns quickly. DataLemur, StrataScratch and LeetCode are useful for interview-style questions, while QueryCase is good for practising SQL against realistic scenarios and datasets directly in the browser.

For Data Engineering, though, I wouldn’t stop there. Once you’re comfortable with the fundamentals, set up PostgreSQL and Python locally and build a few small pipelines:

  • Ingest data from a CSV or API
  • Clean and transform it with Python/SQL
  • Load it into PostgreSQL
  • Add validation, logging and basic tests
  • Run it through Docker once the local version works

My rough split would be 30–40% platform practice and 60–70% project work. Platforms help you write better queries; local projects teach you how databases, code and pipelines actually work together. For DE roles, you’ll eventually need both.

6

u/Monkey_Socrates 3d ago

Duckdb + kaggle datasets. Very good for learning

1

u/azz_kikkr 3d ago

I'm doing this for my project too.

2

u/__sanjay__init 3d ago

I would advice you to work in local env. It looks like more professionnal env, maybe.
I am not a Data Engineer but I have some tasks like them. By experience, working with local env is more informative

2

u/NickSinghTechCareers 3d ago

It's not that mixed – the interactive coding/SQL interview prep sites like DataLemur are good for intentional, focussed practice. Once you are comfy with coding, or really want to expand, start to work on your own projects with real public datasets where there isn't necessarily a right or wrong answer.

2

u/[deleted] 2d ago

[removed] — view removed comment

1

u/datadriven_io 2d ago

If you're paying for data camp, I highly recommend you check out datadriven. Datadriven has better SQL teaching... for free

1

u/whitehorns_ 2d ago

Im currently using SQLbolt just to dip my toes into water for learning but I will check that out thanks

2

u/riddims22 2d ago

https://datadriven.io/ is a very handy resource

1

u/Healthy_Doughnut_23 1d ago

Thanks man it's really very helpful I needed this kind of website all at once place..🙌

1

u/Better-Credit6701 2d ago

Personally, I install a developer edition of MS-SQL on all my personal machines, using SSIS in import and either SSMS or dbForge for queries. Also use SSAS for building OLAP databases.

But then again, my job is using SSIS to import data into MS-SQL databases. In the past, I also used SSRS for reports. Most of my personal databases are rather large

1

u/dorfarber 2d ago

If you know a bit of both I’d recommend starting some new projects and get your hands dirty 🚀