1.修改数据
该命令是set后面先锁定要修改的列值然后where后面锁定所在的行号
(1) 命令所修改的值是所列出的列名
update name set username="zhangsan" where id=3;
updata name set username="zhangshilong",password=123123 where is=1;
1.修改数据
该命令是set后面先锁定要修改的列值然后where后面锁定所在的行号
(1) 命令所修改的值是所列出的列名
update name set username="zhangsan" where id=3;
updata name set username="zhangshilong",password=123123 where is=1;