insert语句用于向表中插入新纪录
insert语句语法:
INSERT INTO table_name (column1,column2,column3,...)
VALUES (value1,value2,value3,...);
update语句用于更新表中存在的记录
update语句语法:
UPDATE table_name
SET column1 = value1, column2 = value2, ...
WHERE condition;
delete语句用于删除表中的行
delete语句语法:
DELETE FROM table_name
WHERE condition;
删除整张表:
delete from table_name;(如果不写where子句将会删除整张表)