CREATE TABLE
Define columns, types and constraints. A primary key identifies each row.
Example
CREATE TABLE tags (id INTEGER PRIMARY KEY, label TEXT NOT NULL UNIQUE);
INSERT INTO tags (label) VALUES ('sql');
SELECT * FROM tags;Result
id | label 1 | sql
Exercise
Unique identifier.
id INTEGER KEY
Quiz Test
These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.