r/learnSQL • u/NoctrailBio_ • Aug 27 '26
Beginner learning PostgreSQL with a goal of becoming a backend engineer — looking for advice
Hi everyone,
I’m currently learning SQL and PostgreSQL with the long-term goal of becoming a backend engineer.
I’ve been practicing locally with PostgreSQL and pgAdmin, so I’m especially interested in hearing from developers who use PostgreSQL in production.
I’m still a beginner. So far I’ve been practicing things like creating tables, INSERT, SELECT, WHERE, DISTINCT, ORDER BY, and LIMIT. I’m also starting to learn Python and eventually want to connect Python/FastAPI with PostgreSQL.
One thing I’m trying to understand is how SQL and PostgreSQL are actually used by backend engineers in real jobs, compared with the way SQL is taught in books and courses.
For backend engineers who use PostgreSQL regularly:
- What SQL/PostgreSQL skills do you use the most?
- At what point should a beginner start combining Python with PostgreSQL?
- What database concepts should I make sure I understand before getting deeper into backend development?
- Are there any beginner projects you would recommend that resemble real backend work?
I’m not looking for shortcuts. I’m trying to build a solid foundation and understand what skills actually matter on the job.
Any advice from backend engineers, especially those working with PostgreSQL, would be greatly appreciated. Thanks!
3
u/Creative_Sugar-33 Aug 28 '26
PostgreSQL + FastAPI is a very practical and in-demand stack.
In production backend work, you might actually end up using an ORM (like SQLAlchemy or SQLModel) rather than writing raw SQL all day. But a strong SQL foundation is still critical for designing schemas, writing complex joins/aggregations, understanding migrations, and debugging slow queries with indexing and EXPLAIN ANALYZE.
Consider checking out Dataslope's SQL courses and interview prep materials. They're free, interactive, and don't require you to sign in.
SQL Courses:
Interview Prep:
Disclaimer: I created Dataslope.
5
u/datadriven_io Aug 27 '26
Yes. It is totally the case when most of the knowledge is transferrable. Practice sql interview questions on datadriven. You can even start with SQLite if your main goal is to learn PostgreSQL.
1
u/navicat-gu Oct 22 '26
Backend engineers rarely write textbook-style
SELECT … WHEREall day. The SQL that shows up at work is closer to:ROW_NUMBER,LAG, running totals)EXPLAIN (ANALYZE, BUFFERS)When to add Python/FastAPI: as soon as
SELECT/INSERTfeel comfortable — don't wait until you "finish SQL". A tiny FastAPI app that creates a user, stores it with asyncpg or SQLAlchemy, and reads it back teaches you connection pooling, parameterised queries and migrations faster than more isolated drills.Concepts worth locking in before job apps: normalisation vs deliberate denormalisation, transactions, indexes (B-tree at minimum),
NULLbehaviour, and the difference between the database and the client (pgAdmin is only a client).Project ideas that look like real backend work: a URL shortener; a small inventory API with stock movements; a blog with users/posts/comments and pagination; anything where you write migrations and seed data, not just one big
schema.sql.Disclosure: I'm RC, Director of Digital Strategy @ Navicat. For local practice alongside pgAdmin, Navicat Premium Lite is free to try (Navicat 18) and gives you a straightforward query editor and object designer against PostgreSQL. Visual explain and modelling are in the paid Premium editions if you want them later — they are not required while you are learning.