介绍几种关于Mysql数据库增删改查的最简单写法
程序员文章站
2022-06-21 21:00:45
添加数据insert into user values(1,"lirixing","boy");
查询select * from user;
更新update...
添加数据insert into user values(1,"lirixing","boy");
查询select * from user;
更新update user set name="liri" where id=1;
删除delete from user;
查询总条数select count(1) from user;
查询一个数的和select sum(id) from user;
上一篇: v-model和:model的区别
下一篇: 经常便秘怎么办,这些简答有效方法学起来