SQL (Structured Query Language) is a popular programming language used for relational databases. And there are many good free resources you can use to start learning it.

In this article, I will list out 8 free online beginner-friendly resources to learn SQL, PostgreSQL, and MySQL.

Free SQL Courses

  1. Relational Database Curriculum (freeCodeCamp)
  2. SQL Tutorial - Full Database Course for Beginners (freeCodeCamp)
  3. Learn SQL In 60 Minutes (Web Dev Simplified)
  4. SQL For Beginners Tutorial (Amigoscode)
  5. MySQL Database - Full Course (freeCodeCamp)
  6. MySQL Tutorial for Beginners - Full Course (Programming with Mosh)
  7. MySQL Crash Course | Learn SQL (Traversy Media)
  8. SQL for Data Science (UC Davis)

Relational Database freeCodeCamp Curriculum

In September of 2021, freeCodeCamp released the beta version of their relational database curriculum. This beta version is run entirely in Visual Studio Code using Docker and a CodeRoad extension.

In this course, you will learn about Git, GitHub, Bash, Nano, SQL, PostgreSQL and more. This is an entirely project-based learning curriculum.

Some of the projects that you will build in the course include a Mario database, World database, Celestial Bodies database, and a Bike rental shop.

To learn more about it, you can read through this article by Tom Mondloch who created the course.

SQL Tutorial - Full Database Course for Beginners

In this freeCodeCamp YouTube course, Mike Dane will teach you the basics of SQL. You will learn about creating tables, inserting data, wildcards, unions, joins and more.

In this course, you will learn how to install MySQL on your Mac or Windows computer. You will also practice your SQL skills by building a company database and an ER diagram.

If you like this course by Mike Dane, then please check out their YouTube channel for more free courses.

Learn SQL In 60 Minutes

In this Web Dev Simplified YouTube course, Kyle will teach you the basics of getting started with SQL. You will learn about creating tables, inserting data into tables, primary keys, foreign keys, aggregate functions, and more.

This is a great course to take as a quick introduction to learning about the basics. From here you can move onto building your first few projects using SQL.

SQL For Beginners Tutorial

In this Amigoscode YouTube course, Nelson will teach you how to get setup using PostgreSQL on Mac and Windows. You will then learn the basics of SQL including creating tables, primary keys, foreign keys, aggregate functions, and more.

If you enjoy this free YouTube course by Nelson, then you can check out his other courses on his channel or take a look at his paid courses on his website.

MySQL Database - Full Course

In this freeCodeCamp YouTube course, Bharath will teach you how to install MySQL on your local machine. You will then learn how to create tables, insert data into tables, do data modeling, locks, use SQL Explain, and more.

Bharath also provides helpful resources to go along with the course including a getting started guide and GitHub repository of the MySQL scripts.

If you enjoyed this course, then you can visit other courses on their YouTube channel.

MySQL Tutorial for Beginners - Full Course

In this Programming with Mosh YouTube course, Mosh will teach you how to install MySQL on Mac or Windows. You will then learn about creating tables, inserting data into databases, joins, operators, SQL clauses, SQL operators, and more.

If you enjoy this course by Mosh, then you can visit their YouTube channel or his website for paid courses.

MySQL Crash Course | Learn SQL

In this Traversy Media YouTube course, Brad will teach you the basics of getting started with MySQL. You will learn about creating tables, inserting data into tables, altering tables, primary keys, foreign keys, aggregate functions and more.

This is a great course to take as a quick introduction to learning about the basics. From here you can move onto building your first few projects using MySQL.

Brad also includes a MySQL Cheat Sheet with this course.

SQL for Data Science

In this UC Davis course, you will learn the basics of how to use SQL in the context of Data Science. You will learn about creating tables, inserting data into tables, primary keys, foreign keys, aggregate functions, joins, subqueries, and more.

This course is free to audit on Coursera. It is also part of the Learn SQL Basics for Data Science Specialization.

If you are interested in continuing with the specialization, then I would suggest looking into the other three courses offered after this introductory course.