Module 1: Relational databases and SQL
Give the Walk Office its first tables, fill them, and ask them business questions in SQL
In this module you will learn to:
- Explain when a relational database is the right tool, and describe tables, rows, columns, primary keys and foreign keys in plain terms.
- Connect to PostgreSQL with psql, explore a database, run SQL files safely, and control changes with BEGIN, COMMIT and ROLLBACK.
- Choose suitable PostgreSQL data types and create and change tables with primary key, NOT NULL, UNIQUE, CHECK, DEFAULT and foreign key constraints.
- Insert, query, update and delete rows with WHERE, ORDER BY, LIMIT and RETURNING, handling NULL correctly and using string and date functions.
- Read PostgreSQL's error messages to find which constraint or rule a statement broke, and fix the statement or the data.
- PresentationData that keeps its own rules4 minutes
- VideoIntroduction to PostgreSQL Tutorial - Part 2
- LessonRelational databases and SQL1 hour 5 minutes
- SummarySummary5 minutes
- Flash cardsFlash cards14 minutes
- Practical workPractical work7 hours 30 minutes
- Review study aidReview Study Aid5 minutes
- AssessmentRelational databases and SQL assessment30 minutes
In all: 15 hours