Pragmatic AI Labs

Postgres From Zero

This course is part of multiple programs.

Noah Gift
Alfredo Deza

Instructors: Noah Gift

Included with Coursera PlusLearn more

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

Assessments

1 assignment

Taught in English

Build your subject-matter expertise

This course is available as part of
When you enroll in this course, you'll also be asked to select a specific program.
  • Learn new concepts from industry experts
  • Gain a foundational understanding of a subject or tool
  • Develop job-relevant skills with hands-on projects
  • Earn a shareable career certificate

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

Earn a career certificate

Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.

Instructors

Noah Gift
Pragmatic AI Labs
94 Courses17,126 learners

Offered by

Explore more from Software Development

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."

What brings you to Coursera today?

Frequently asked questions