Lesson 3 of 14 · First steps in SQL
Creating tables: types and constraints
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.