Skip to content
Theory · Creating tables · lesson 1 of 11

CREATE TABLE and types

A printing press tagged CREATE prints a blank suppliers form with three empty fields

Until now someone else created the tables for you: the six tables of the coffee chain were already in the database. Now the chain wants to keep track of the suppliers who bring beans, milk and pastries. That needs a new table, and we will create it.

In this lesson

  • The first table
  • Column types
  • The database assigns the row number
  • Common mistake
  • Key points