Search
⌘ K
AI Features
Log In
The Art of PostgreSQL
1.
Part I: Preface
Introduction to the Course
Course Overview
Architecture Required
2.
Introduction to PostgreSQL
PostgreSQL
Some Useful Commands
Quiz: Introduction to PostgreSQL
3.
Part II: Introduction to Structured Query Language
Introduction to SQL
Utilizing SQL
The First Use Case
A Word About SQL Injection
PostgreSQL Protocol: Server-Side Prepared Statements
Back to Discovering SQL
Computing Weekly Changes
SQL Style Guidelines
Challenge: Compute Fortnightly Changes
Solution Review: Compute Fortnightly Changes
4.
Part III: Writing SQL Queries
Introduction to Writing SQL Queries
5.
Business Logic
Business Logic in the Database
Business Logic in Application Code
Correctness
Efficiency
Stored Procedures: A Data Access API
Quiz: SQL and Business Logic
Challenge: Implement Business Logic
Solution Review: Implement Business Logic
6.
A Small Application
Introduction to a Small Application
Loading and Querying the Database
Python Application for Chinook Database
Challenge: Top-N Factbook Entries
Solution Review: Top-N Factbook Entries
7.
The SQL REPL: An Interactive Setup
Introduction to SQL REPL
Getting Started with psql
Query Rewriting and Validating
Challenge: Testing in PostgreSQL
Solution Review: Testing in PostgreSQL
Regression Testing
Challenge: Regression Testing in PostgreSQL
Solution Review: Regression Testing in PostgreSQL
8.
Indexing in PostgreSQL
Indexing Strategy
Index Access Methods
Advanced Indexing
Quiz: Loading Database, REPL, Testing, and Indexing