AI Instructor Live Labs Included

Introduction to Relational Databases with PostgreSQL

Learn relational database fundamentals with PostgreSQL — from creating tables to writing complex queries. Hands-on practice in a live database environment with zero setup required.

Beginner
1d 6h 10m
26 Lessons
PG-100
Introduction to Relational Databases with PostgreSQL Badge

View badge details

About This Course

Master the fundamentals of relational databases using PostgreSQL the world's most advanced open-source database. Starting from zero, you'll learn to design tables, write SQL queries, build relationships between data, and optimize performance. Every concept is practiced hands-on in a browser-based VS Code environment with a live PostgreSQL database no installation required.

This beginner-friendly course is the ideal foundation for anyone planning to work with Entity Framework Core, build web APIs, or develop SaaS applications with C# and .NET.

Course Curriculum

26 Lessons
01
AI Lesson
AI Lesson

What is a Relational Database?

45m

Learn what relational databases are, why they matter, and how PostgreSQL fits into the picture. Understand tables, rows, columns, and the SQL language.

02
Lab Exercise
Lab Exercise

What is a Relational Database? - Lab Exercises

1h 30m 2 Exercises

Connect to PostgreSQL, explore the database with SQLTools, and run your first SQL queries.

03
AI Lesson
AI Lesson

Creating Tables and Data Types

45m

Learn to create tables with appropriate data types and constraints. Understand how to modify and drop tables.

04
Lab Exercise
Lab Exercise

Creating Tables and Data Types - Lab Exercises

1h 30m 2 Exercises

Design and create tables for a client management database with proper data types and constraints.

05
AI Lesson
AI Lesson

Inserting and Retrieving Data

45m

Learn INSERT and basic SELECT statements. Understand how to add data to tables and retrieve it with simple queries.

06
Lab Exercise
Lab Exercise

Inserting and Retrieving Data - Lab Exercises

1h 35m 2 Exercises

Populate tables with data and write SELECT queries to retrieve information from the database.

07
AI Lesson
AI Lesson

Filtering, Sorting, and Pagination

45m

Master WHERE clause operators, pattern matching with LIKE, NULL handling, ORDER BY, LIMIT, OFFSET, and DISTINCT.

08
Lab Exercise
Lab Exercise

Filtering, Sorting, and Pagination - Lab Exercises

1h 25m 2 Exercises

Write advanced queries using comparison operators, pattern matching, sorting, and pagination against the client database.

09
AI Lesson
AI Lesson

Modifying and Deleting Data

45m

Learn UPDATE, DELETE, and TRUNCATE statements. Understand transactions and how to safely modify data.

10
Lab Exercise
Lab Exercise

Modifying and Deleting Data - Lab Exercises

1h 25m 2 Exercises

Practice updating and deleting records safely using transactions and conditional logic.

11
AI Lesson
AI Lesson

Table Relationships and Foreign Keys

45m

Understand primary keys, foreign keys, one-to-many and many-to-many relationships, and referential integrity.

12
Lab Exercise
Lab Exercise

Table Relationships and Foreign Keys - Lab Exercises

1h 25m 2 Exercises

Build related tables with foreign keys and junction tables for the client management database.

13
AI Lesson
AI Lesson

Joining Tables

45m

Master INNER JOIN, LEFT JOIN, RIGHT JOIN, FULL JOIN, and self-joins to combine data from multiple tables.

14
Lab Exercise
Lab Exercise

Joining Tables - Lab Exercises

1h 30m 2 Exercises

Write multi-table JOIN queries to generate reports combining client, project, and employee data.

15
AI Lesson
AI Lesson

Aggregation and Grouping

45m

Learn COUNT, SUM, AVG, MIN, MAX aggregate functions with GROUP BY and HAVING clauses.

16
Lab Exercise
Lab Exercise

Aggregation and Grouping - Lab Exercises

1h 35m 2 Exercises

Build summary reports and analytics queries using aggregate functions and grouping.

17
AI Lesson
AI Lesson

Subqueries and Common Table Expressions

45m

Write subqueries, correlated subqueries, and CTEs (WITH clause) for complex data retrieval.

18
Lab Exercise
Lab Exercise

Subqueries and Common Table Expressions - Lab Exercises

1h 35m 2 Exercises

Solve complex business questions using subqueries and CTEs against the client management database.

19
AI Lesson
AI Lesson

Indexes and Query Performance

45m

Understand how indexes work, when to create them, and how to use EXPLAIN ANALYZE to optimize queries.

20
Lab Exercise
Lab Exercise

Indexes and Query Performance - Lab Exercises

1h 35m 2 Exercises

Create indexes, analyze query plans with EXPLAIN, and measure performance improvements.

21
AI Lesson
AI Lesson

Views and Functions

45m

Create reusable views and PostgreSQL functions to simplify complex queries and encapsulate business logic.

22
Lab Exercise
Lab Exercise

Views and Functions - Lab Exercises

1h 35m 2 Exercises

Build views for reporting dashboards and functions for business logic in the client management database.

23
AI Lesson
AI Lesson

Database Design and Normalization

45m

Learn database design principles, entity-relationship modeling, and normalization from 1NF through 3NF.

24
Lab Exercise
Lab Exercise

Database Design and Normalization - Lab Exercises

1h 45m 2 Exercises

Analyze poorly designed tables, identify normalization violations, and restructure them into proper 3NF design.

25
AI Lesson
AI Lesson

Capstone Briefing - Build a Complete Database

30m

Review all concepts and receive the requirements for designing and building a complete database from scratch.

26
Lab Exercise
Lab Exercise

Capstone: Build a Complete Database

2h 15m 1 Exercises

Design and implement a complete PostgreSQL database for a real-world scenario, demonstrating mastery of all course concepts.

This course includes:

  • 24/7 AI Instructor Support
  • Live Lab Environments
  • 13 Hands-on Lessons
  • Completion Badge
Introduction to Relational Databases with PostgreSQL Badge

Earn Your Badge

Complete all lessons to unlock the Introduction to Relational Databases with PostgreSQL achievement badge.

Skill Level Beginner
Total Duration 1d 6h 10m
Introduction to Relational Databases with PostgreSQL Badge
Achievement Badge

Introduction to Relational Databases with PostgreSQL

Awarded for completing the Introduction to Relational Databases with PostgreSQL course covering database design, SQL queries, joins, aggregation, indexing, views, functions, and normalization.

Course Introduction to Relational Databases with PostgreSQL
Criteria Complete all lessons in the Introduction to Relational Databases with PostgreSQL course
Valid For 730 days

Skills You'll Earn

SQL PostgreSQL Database Design Table Relationships Joins Aggregation Indexes Normalization

Complete all lessons in this course to earn this badge