CREATE TABLE poems (
id INT AUTO_INCREMENT PRIMARY KEY,
author VARCHAR(100) NOT NULL,
gender CHAR(1) NOT NULL,
dynasty VARCHAR(100) NOT NULL,
title VARCHAR(100) NOT NULL,
style TEXT NOT NULL
);
INSERT INTO poems (author, gender, dynasty, title, style)
VALUES ('李白', '1', '唐代', '诗仙', '豪放飘逸的诗风和丰富的想象力');
DELETE FROM poems WHERE id = 1;、
UPDATE poems
SET author = '李太白', style = '浪漫主义风格'
WHERE id = 1;
SELECT * FROM poems;