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.
涵盖的内容
5个视频5篇阅读材料
显示有关单元内容的信息
5个视频•总计9分钟
Psql Connect•2分钟
Show Tables•2分钟
Select Limit•1分钟
Modify Transaction•2分钟
Copy Export•2分钟
5篇阅读材料•总计5分钟
About This Course•1分钟
Key Terms: Connecting to Postgres with psql•1分钟
Reflection: Connecting to Postgres with psql•1分钟
Key Terms: INSERT / UPDATE / DELETE Inside a Transaction•1分钟
Reflection: INSERT / UPDATE / DELETE Inside a Transaction•1分钟
Sakila Schema, JOINs, and EXPLAIN
第 2 单元•11分钟 后完成
单元详情
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.
涵盖的内容
4个视频4篇阅读材料
显示有关单元内容的信息
4个视频•总计7分钟
Pagila Schema Walkthrough•1分钟
Traversal Join•2分钟
Inner Vs Left Join•2分钟
Explain Analyze•1分钟
4篇阅读材料•总计4分钟
Key Terms: Pagila Schema Walkthrough•1分钟
Reflection: Pagila Schema Walkthrough•1分钟
Key Terms: Reading EXPLAIN ANALYZE•1分钟
Reflection: Reading EXPLAIN ANALYZE•1分钟
Typed Rust Client with sqlx
第 3 单元•小时 后完成
单元详情
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.
涵盖的内容
3个视频3篇阅读材料
显示有关单元内容的信息
3个视频•总计4分钟
Sqlx Pgpool•1分钟
Fromrow Mapping•1分钟
Postgres Reports Walkthrough•1分钟
3篇阅读材料•总计242分钟
Capstone: Multi-Report Analytics Tool•240分钟
Key Terms: Connecting from Rust with sqlx::PgPool•1分钟
Reflection: Connecting from Rust with sqlx::PgPool•1分钟
End-to-End Demo
第 4 单元•小时 后完成
单元详情
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.