r/learnSQL • u/tech-titan-2005 • 15h 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??
6
Upvotes
1
u/analytical_mind_ 14h 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/Discordbothost 12h 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.