SQL: Querying, Modelling and Running a Database
Exit

Lesson 3 of 14 · First steps in SQL

Creating tables: types and constraints

50 min Python 3.12 (Debian, git, pip)

Objective

Define the tables of an application properly: choose the right type for each column (especially for money and dates) and set the constraints that keep wrong data out of the database, whatever program writes to it.

This lesson is part of the full course

Unlock SQL: Querying, Modelling and Running a Database to read every lesson, do the exercises, access the simulations and earn your certificate.

Already enrolled? Log in.