Pragmatic AI Labs

Postgres From Zero

Ends soon! Save on skills that make you shine with 40% off 3 months of Coursera Plus. Save now

Pragmatic AI Labs

Postgres From Zero

Noah Gift

Instructor: Noah Gift

Included with Coursera Plus

Gain insight into a topic and learn the fundamentals.
Beginner level

Recommended experience

6 hours to complete
Flexible schedule
Learn at your own pace
Gain insight into a topic and learn the fundamentals.
Beginner level

Recommended experience

6 hours to complete
Flexible schedule
Learn at your own pace

What you'll learn

  • Operate PostgreSQL from psql with transactional writes (BEGIN ... ROLLBACK) and safe \copy CSV export.

  • Read Pagila JOIN paths and EXPLAIN ANALYZE plans — distinguish INNER vs LEFT JOIN and Seq Scan vs Index Scan.

  • Ship a typed Rust client with sqlx::PgPool and FromRow that emits contract-verified JSON reports.

Details to know

Shareable certificate

Add to your LinkedIn profile

Recently updated!

May 2026

Assessments

1 assignment

Taught in English

See how employees at top companies are mastering in-demand skills

 logos of Petrobras, TATA, Danone, Capgemini, P&G and L'Oreal

There are 4 modules in this course

Build the foundations of working with PostgreSQL from psql. Cover backslash commands, DATABASE_URL connection strings, transactional INSERT / UPDATE / DELETE, and safe operating habits inside a session.

What's included

5 videos5 readings

Read the Pagila/Sakila schema like a relational map: spine tables, bridge tables, foreign keys, and audit columns. Use INNER and LEFT JOIN deliberately and read EXPLAIN ANALYZE to compare query plans.

What's included

4 videos4 readings

Connect to PostgreSQL from a typed Rust client using sqlx. Configure PgPoolOptions, map rows into FromRow structs with sqlx::query_as!, and propagate errors with anyhow::Result for production-grade integrations.

What's included

3 videos3 readings

Tie everything together: bring up Pagila locally with Docker Compose, run the SQL demos through psql, and execute the typed Rust report binary to emit production-grade JSON. One repo, one make target, one command line.

What's included

1 video4 readings1 assignment1 ungraded lab

Instructor

Noah Gift
Pragmatic AI Labs
47 Courses3,308 learners

Offered by

Why people choose Coursera for their career

Felipe M.

Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."

Jennifer J.

Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."

Larry W.

Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."

Chaitanya A.

"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."

Frequently asked questions