1.mysql update 语句: update user set name = 'xiaoming',age = 18 where uid = 3000; 更新记录时update操作也不需要写table关键字,像insert into一样,不需要写table关键字,直接写表名即可 2.mysql insert 语句: insert into user(uid,age,name,address) values(1000,18,'xiaohong','hunanyiyang')…
insert常用语句 > insert into tb1 (name,age) values('tom',33); > insert into tb1 (name,age) values('jerry',22),('naruto',28); > insert into tb1 values (4,'Sasuke',28),(5,'hinata',25); > insert into tbl2 set id=2,name="test",age=18,gender=…