e.g. This is primarily aimed at first- and second-year undergraduates interested in engineering or science, along with high school students and professionals with an interest in programming.Postgres From Zero takes you from never having opened a PostgreSQL prompt to shipping a typed Rust binary that emits production-grade JSON reports against a real schema. You will operate Postgres through psql using backslash commands, information_schema, and safe SELECT ... LIMIT queries, then execute INSERT, UPDATE, and DELETE inside BEGIN/ROLLBACK/COMMIT transactions so a wrong move ends with a rollback rather than a restore from backup. You will read the 16-table Pagila Sakila schema as a relational map, walk the customer to rental to inventory to film spine with multi-table JOINs, distinguish INNER from LEFT JOIN row-by-row, and read EXPLAIN ANALYZE plans to compare query plans and spot Seq Scan versus Index Scan trade-offs. Finally, you will build a typed Rust client with sqlx::PgPool and the FromRow derive, map Postgres column types to Rust struct fields, and ship the postgres-reports binary with three Top-N analytical reports, each enforcing named runtime contracts. Every lesson uses the Pagila open dataset and the public paiml/postgres-from-zero GitHub repository, so you can reproduce everything on a fresh laptop with Docker Compose and a single make target.
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
Show info about module content
5 videos•Total 9 minutes
Psql Connect•2 minutes
Show Tables•2 minutes
Select Limit•1 minute
Modify Transaction•2 minutes
Copy Export•2 minutes
5 readings•Total 5 minutes
About This Course•1 minute
Key Terms: Connecting to Postgres with psql•1 minute
Reflection: Connecting to Postgres with psql•1 minute
Reflection: INSERT / UPDATE / DELETE Inside a Transaction•1 minute
Sakila Schema, JOINs, and EXPLAIN
Module 2•11 minutes to complete
Module details
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
Show info about module content
4 videos•Total 7 minutes
Pagila Schema Walkthrough•1 minute
Traversal Join•2 minutes
Inner Vs Left Join•2 minutes
Explain Analyze•1 minute
4 readings•Total 4 minutes
Key Terms: Pagila Schema Walkthrough•1 minute
Reflection: Pagila Schema Walkthrough•1 minute
Key Terms: Reading EXPLAIN ANALYZE•1 minute
Reflection: Reading EXPLAIN ANALYZE•1 minute
Typed Rust Client with sqlx
Module 3•4 hours to complete
Module details
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
Show info about module content
3 videos•Total 4 minutes
Sqlx Pgpool•1 minute
Fromrow Mapping•1 minute
Postgres Reports Walkthrough•1 minute
3 readings•Total 242 minutes
Capstone: Multi-Report Analytics Tool•240 minutes
Key Terms: Connecting from Rust with sqlx::PgPool•1 minute
Reflection: Connecting from Rust with sqlx::PgPool•1 minute
End-to-End Demo
Module 4•1 hour to complete
Module details
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.
When will I have access to the lectures and assignments?
To access the course materials, assignments and to earn a Certificate, you will need to purchase the Certificate experience when you enroll in a course. You can try a Free Trial instead, or apply for Financial Aid. The course may offer 'Full Course, No Certificate' instead. This option lets you see all course materials, submit required assessments, and get a final grade. This also means that you will not be able to purchase a Certificate experience.
What will I get if I subscribe to this Specialization?
When you enroll in the course, you get access to all of the courses in the Specialization, and you earn a certificate when you complete the work. Your electronic Certificate will be added to your Accomplishments page - from there, you can print your Certificate or add it to your LinkedIn profile.
Is financial aid available?
Yes. In select learning programs, you can apply for financial aid or a scholarship if you can’t afford the enrollment fee. If fin aid or scholarship is available for your learning program selection, you’ll find a link to apply on the description page.