Welcome back, @name! This time we descend into the scriptorium - the heart of the Library, where new shelves are made. So far you have learned to read scrolls. Today I will teach you to build the shelves themselves - that is, tables.
The commands you learned earlier (SELECT, WHERE, ORDER BY) were used to retrieve data. They belong to a group called DML (Data Manipulation Language). Now we enter the world of DDL (Data Definition Language) - the language with which we define the structure of the Library.
DDL lets us:
Think of a shelf you are only just designing. Before you place a single scroll on it, you must decide:
That is exactly what CREATE TABLE does - it draws the plan of the shelf before any data appears on it.
In the scriptorium you will learn to:
Grab a chisel and stylus, scribe - we will build your first shelf!