1.插入數據
insert into 表名 (列名1,...,列名n) values (值1,...,值n)
insert into 表名 values (值1,...,值n) 因為沒有指定插入的列,所以要插入所有列的值
2.更新數據
update 表名 set 列名1=值1,...,列名2=值2 [where 條件]
3.刪除數據
delete from 表名 [where 條件]
1.插入數據
insert into 表名 (列名1,...,列名n) values (值1,...,值n)
insert into 表名 values (值1,...,值n) 因為沒有指定插入的列,所以要插入所有列的值
2.更新數據
update 表名 set 列名1=值1,...,列名2=值2 [where 條件]
3.刪除數據
delete from 表名 [where 條件]