r/learnSQL • u/Prashu9454 • Jun 23 '26
Which SQL to start?
I am starting SQL to which is better to learn as a beginner ?
MYSQL or POSTgreSQL ?
if ANY YT recommendation for learning please tell me which is best ?
61
Upvotes
View all comments
1
u/navicat-gu 1d ago
Honestly, either is fine. About 90% of what you learn (SELECT, WHERE, JOIN, GROUP BY, subqueries, CTEs, window functions) is the same in both.
The differences you'll notice early are small:
LIMITworks in both; string concatenation is||in Postgres vsCONCAT()in MySQL; Postgres hasILIKEfor case-insensitive matching. You'll pick those up in an afternoon when you switch.What matters more is practice on real-ish data: load a sample database (dvdrental for Postgres, Sakila for MySQL) and answer your own questions with it.
Disclosure: I'm RC, Director of Digital Strategy @ Navicat. If you want to try both without juggling two tools, Navicat Premium Lite is free and connects to MySQL and PostgreSQL from one window. pgAdmin and MySQL Workbench are also free if you go with one.