Skip to content

MySQL Table Demo ​

In a selected database, create a notes table. The primary key uniquely identifies each note, and the title column cannot contain NULL.

sql
CREATE TABLE notes (
  id INT UNSIGNED AUTO_INCREMENT PRIMARY KEY,
  title VARCHAR(200) NOT NULL
);