r/learnSQL • • 1d ago

How to learn postgresql

Did learning express. so as next step in thinking of learning postgresql instead of mongodb. so how. how did you learn. my stack is pern and is it good??

10 Upvotes

7 comments sorted by

1

u/analytical_mind_ 1d ago

Since you’re in PERN, PostgreSQL is definitely worth learning. Start with SQL basics like SELECT, JOIN, GROUP BY and relationships. Try SQLBOLT for hands-on experience then build a small CRUD project on PostgreSQL with Express. Practice make it easier.

1

u/tech-titan-2005 1d ago

should I do all SQL bolt exercises

1

u/analytical_mind_ 1d ago

Yes please!

1

u/tech-titan-2005 17h ago

thanks 🫂

1

u/Discordbothost 1d ago

Practice constraints alongside the CRUD app. For example, define email as TEXT UNIQUE, then insert the same address twice: PostgreSQL should reject the second insert. Handle that error in Express. You'll learn which checks belong in the database, beyond just getting a successful query back.