CREATE TABLE student (id integer primary key autoincrement, name varchar(30), age integer)
複製代碼
INSERT INTO student(name, age) VALUES("張三", 20)
複製代碼
DELETE FROM student WHERE name=張三
複製代碼
UPDATE student SET age=20 WHERE name=張三
複製代碼
SELECT name FROM student WHERE age=20
複製代碼
ALTER TABLE student ADD COLUMN sex varchar(30)
複製代碼