數據庫操作語句
insert into liubo values(1,'小明',12);
insert into liubo(name,priovince,sge) values('名','山東',20);插入一個數據
insert into liubo(name,priovince,sge) values('名','山東',20),('名','山東',20),('名','山東',20),('名','山東',20);插入多個數據,中間用逗號隔開;
用delete刪除數據,【注意】用where限制,不然表中數據全部沒有了。
delete from bb where id =2;
update更新數據,【注意】也要住where限制
update liubo set money = 4000,age=30 where id = 1;