DROP TABLE IF EXISTS diaries;
CREATE TABLE diaries (
id INT PRIMARY KEY AUTO_INCREMENT,
title VARCHAR(40),
body VARCHAR(140)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
INSERT INTO diaries (title, body) VALUES ("survey", "will start groonga!");
SELECT * FROM diaries;
id	title	body
1	survey	will start groonga!
ALTER TABLE diaries
DROP COLUMN title,
DROP COLUMN body;
SELECT * FROM diaries;
id
1
INSERT INTO diaries () VALUES ();
SELECT * FROM diaries;
id
1
2
DROP TABLE diaries;
