Free Course Image   PosgresSQL

Free online course PosgresSQL

Duration of the online course: 4 hours and 14 minutes

4.73

StarStarStarStarHalf star

(11)

Boost your data skills fast with a free PostgreSQL course: install, query, design tables, joins, and real SQL workflows—plus practice exercises.

In this free course, learn about

  • Core purpose of databases and relational databases; basics of SQL
  • What PostgreSQL is and key advantages vs Oracle
  • Install PostgreSQL on Mac/Windows; connect via GUI and psql (port 5432)
  • Create/connect/drop databases; understand dangerous DROP DATABASE usage
  • Create tables, choose data types (e.g., DATE for DOB) and apply constraints
  • Insert data correctly (ISO dates), list tables, and generate mock data (Mockaroo)
  • Query with SELECT, ORDER BY, DISTINCT, WHERE, AND, operators, IN, BETWEEN, LIKE/ILIKE
  • Group and filter aggregates with GROUP BY and HAVING
  • Use aggregates and math: MIN/MAX/SUM, arithmetic, ROUND, aliases (AS)
  • Handle nulls and errors with COALESCE and NULLIF
  • Work with timestamps/dates: intervals, subtraction, EXTRACT, AGE function
  • Keys and integrity: primary keys, UNIQUE, CHECK; SERIAL and UUID primary keys
  • Modify data safely: UPDATE, DELETE with WHERE; UPSERT via ON CONFLICT
  • Model relationships: foreign keys, join tables (INNER/LEFT), export results to CSV

Course Description

Build job-ready database skills by learning PostgreSQL from the ground up in a practical, beginner-friendly way. This free online course guides you through what databases are, how relational models work, and why SQL remains a core skill for roles in software development, data analysis, and backend engineering. You will gain confidence working with Postgres both conceptually and hands-on, so you can move from simply recognizing SQL syntax to actually thinking in queries.

You will set up PostgreSQL on your computer (Mac or Windows), understand how to connect using GUI tools and the terminal, and get comfortable navigating the psql experience. From there, the course focuses on the real tasks people use every day: creating databases and tables, choosing sensible data types, and applying constraints to keep data reliable as it grows. You will practice inserting and managing data safely, including techniques that help you avoid common mistakes and protect your work.

As you progress, you will learn to retrieve insight with SELECT queries, filter results with conditions, and shape outputs with ordering and uniqueness. You will also develop a solid foundation in writing expressive queries using comparison operators, pattern matching, ranges, grouping, and aggregate calculations. Date and time work is covered in a way that helps you reason about timestamps, extract fields, and perform time-based arithmetic for reporting and analysis.

The course goes beyond single-table thinking by teaching keys, relationships, and foreign key behavior, then ties everything together with joins so you can query across multiple tables with confidence. You will also work with practical database patterns such as upserts and conflict handling, and finish with useful workflows like exporting query results to CSV. By the end, you will have a clear path from installation to relational design to meaningful querying, along with practice exercises that reinforce each step.

Course content

  • Video class: PostgreSQL: What is a Database | Course | 2019 02m
  • Exercise: What is the primary function of a database?
  • Video class: PostgreSQL: What is SQL And Relational Database | Course | 2019 03m
  • Exercise: What is a relational database?
  • Video class: PostgreSQL: What is PostreSQL AKA Postrgres | Course | 2019 01m
  • Exercise: _What is one of the advantages of using Postgres instead of Oracle?
  • Video class: PostgreSQL: How To Download Postgres For MAC OS | Course | 2019 03m
  • Exercise: How to install and run PostgreSQL on a Mac?
  • Video class: PostgreSQL: How to Install PostrgreSQL (Windows) | Course | 2019 03m
  • Exercise: _What is the first step to download Postgres on Windows?
  • Video class: PostgreSQL: GUI Clients vs Terminal/CMD Clients | Course | 2019 04m
  • Exercise: What is the preferred method for connecting to a database according to the video?
  • Video class: PostgreSQL: How to Setup PSQL (MAC OS) | Course | 2019 03m
  • Exercise: _How do you connect to your database using the elephant icon?
  • Video class: PostgreSQL: PSQL 05m
  • Exercise: What is the default port number for a local Postgres server?
  • Video class: PostgreSQL: How to Create Database | Course | 2019 03m
  • Exercise: _What is the command to create a new database in PostgresSQL?
  • Video class: PostgreSQL: How to Connect to Databases | Course | 2019 04m
  • Video class: PostgreSQL: A Very Dangerous Command | Course | 2019 03m
  • Exercise: _What is the command to delete a database in PostgreSQL?
  • Video class: PostgreSQL: How To Create Tables (KEYNOTE) | Course | 2019 04m
  • Exercise: Which Postgres data type should you use for storing a person's date of birth?
  • Video class: PostgreSQL: Creating Tables Without Constraints | Course | 2019 03m
  • Exercise: _What is the command to create a table in PostgresSQL?
  • Video class: PostgreSQL: Creating Tables with Constraints | Course | 2019 06m
  • Exercise: Which SQL constraint should not be applied to an email column when creating a 'person' table?
  • Video class: PostgreSQL: Insert Into (KEYNOTE) | Course | 2019 03m
  • Exercise: _What is the correct way to represent dates when inserting records into a table in PostgreSQL?
  • Video class: PostgreSQL: Insert Into | Course | 2019 03m
  • Exercise: What command is used to view only tables in psql?
  • Video class: PostgreSQL: Generate 1000 Rows with Mockaroo | Course | 2019 09m
  • Exercise: _What is the purpose of using the website "Maca Rule" in adding more data to the table in PostgreSQL?
  • Video class: PostgreSQL: Select From | Course | 2019 02m
  • Exercise: What does the SQL command 'SELECT *' do in a database query?
  • Video class: PostgreSQL: Order By | Course | 2019 04m
  • Exercise: _What is the default order when using the "order by" keyword in PostgreSQL?
  • Video class: PostgreSQL: Distinct | Course | 2019 02m
  • Exercise: What SQL keyword is used to return unique values from a query?
  • Video class: PostgreSQL: Where Clause and AND | Course | 2019 03m
  • Exercise: _What is the purpose of the WHERE clause in PostgreSQL?
  • Video class: PostgreSQL: Comparison Operators | Course | 2019 04m
  • Video class: PostgreSQL: IN | Course | 2019 03m
  • Exercise: _Which keyword can be used to simplify the query when selecting multiple values for a column?
  • Video class: PostgreSQL: Between | Course | 2019 02m
  • Video class: PostgreSQL: Like And iLike | Course | 2019 05m
  • Exercise: _What is the purpose of the like operator in PostgreSQL?
  • Video class: PostgreSQL: Group By | Course | 2019 03m
  • Video class: PostgreSQL: Group By Having | Course | 2019 05m
  • Exercise: _What is the purpose of the HAVING keyword in PostgresSQL?
  • Video class: PostgreSQL: Adding New Table And Data Using Mockaroo | Course | 2019 03m
  • Video class: PostgreSQL: Calculating Min, Max 04m
  • Exercise: _What function do we use to find the most expensive car in the table?
  • Video class: PostgreSQL: Sum | Course | 2019 02m
  • Video class: PostgreSQL: Basics of Arithmetic Operators | Course | 2019 04m
  • Exercise: _What is the result of the query "select 10 plus 2 plus 8" in PostgresSQL?
  • Video class: PostgreSQL: Arithmetic Operators (ROUND) | Course | 2019 03m
  • Video class: PostgreSQL: Alias | Course | 2019 02m
  • Exercise: _What is the purpose of using the "as" keyword in PostgreSQL?
  • Video class: PostgreSQL: Coalesce | Course | 2019 03m
  • Video class: PostgreSQL: NULLIF | Course | 2019 04m
  • Exercise: _What is the purpose of the "no if" keyword in PostgreSQL?
  • Video class: PostgreSQL: Timestamps And Dates Course | 2019 03m
  • Video class: PostgreSQL: Adding And Subtracting With Dates | Course | 2019 02m
  • Exercise: _What keyword is used to subtract a specific time interval from a timestamp in PostgreSQL?
  • Video class: PostgreSQL: Extracting Fields From Timestamp | Course | 2019 01m
  • Video class: PostgreSQL: Age Function | Course | 2019 02m
  • Exercise: _What is the first argument that the age function takes in PostgreSQL?
  • Video class: PostgreSQL: What Are Primary Keys | Course | 2019 02m
  • Video class: PostgreSQL: Understanding Primary Keys | Course | 2019 05m
  • Exercise: _What is a primary key in PostgreSQL?
  • Video class: PostgreSQL: Adding Primary Key | Course | 2019 04m
  • Video class: PostgreSQL: Unique Constraints | Course | 2019 08m
  • Exercise: _What is the unique constraint in PostgreSQL?
  • Video class: PostgreSQL: Check Constraints | Course | 2019 05m
  • Video class: PostgreSQL: How to Delete Records | Course | 2019 06m
  • Exercise: _What is the recommended way to delete a record from a table in PostgreSQL?
  • Video class: PostgreSQL: How to Update Records | Course | 2019 04m
  • Video class: PostgreSQL: On Conflict Do Nothing | Course | 2019 05m
  • Exercise: _What is the purpose of using the "on conflict" keyword in PostgreSQL?
  • Video class: PostgreSQL: Upsert | Course | 2019 05m
  • Video class: PostgreSQL: What Is A Relationship/Foreign Keys | Course | 2019 03m
  • Video class: PostgreSQL: Adding Relationship Between Tables | Course | 2019 05m
  • Video class: PostgreSQL: Updating Foreign Keys Columns | Course | 2019 04m
  • Exercise: _What happens when trying to assign a car ID that doesn't exist in the car table to a person in the person table?
  • Video class: PostgreSQL: Inner Joins | Course | 2019 05m
  • Video class: PostgreSQL: Left Joins | Course | 2019 05m
  • Exercise: _What is the difference between a left join and a regular join in PostgreSQL?
  • Video class: PostgreSQL: Deleting Records With Foreign Keys | Course | 2019 06m
  • Video class: PostgreSQL: Exporting Query Results to CSV | Course | 2019 03m
  • Exercise: _What is the command to copy data to a CSV file in PostgresSQL?
  • Video class: PostgreSQL: Serial 06m
  • Video class: PostgreSQL: Extensions | Course | 2019 02m
  • Exercise: _What are PostgreSQL extensions?
  • Video class: PostgreSQL: Understanding UUID Data Type | Course | 2019 06m
  • Video class: PostgresSQL: UUID As Primary Keys | Course | 2019 10m

This free course includes:

4 hours and 14 minutes of online video course

Digital certificate of course completion (Free)

Exercises to train your knowledge

100% free, from content to certificate

Ready to get started?Download the app and get started today.

Install the app now

to access the course
Icon representing technology and business courses

Over 5,000 free courses

Programming, English, Digital Marketing and much more! Learn whatever you want, for free.

Calendar icon with target representing study planning

Study plan with AI

Our app's Artificial Intelligence can create a study schedule for the course you choose.

Professional icon representing career and business

From zero to professional success

Improve your resume with our free Certificate and then use our Artificial Intelligence to find your dream job.

You can also use the QR Code or the links below.

QR Code - Download Cursa - Online Courses

More free courses at Databases

Free Ebook + Audiobooks! Learn by listening or reading!

Download the App now to have access to + 5000 free courses, exercises, certificates and lots of content without paying anything!

  • 100% free online courses from start to finish

    Thousands of online courses in video, ebooks and audiobooks.

  • More than 60 thousand free exercises

    To test your knowledge during online courses

  • Valid free Digital Certificate with QR Code

    Generated directly from your cell phone's photo gallery and sent to your email

Cursa app on the ebook screen, the video course screen and the course exercises screen, plus the course completion certificate