Doc下操作数据库命令

MySQL_CRUD基础语句

你。 提交于 2020-12-12 06:40:11
================增========================= insert into ______ value ______ , ______; 自我复制 insert into users (username,password,email,grade) select username,password,email,grade from users ================删========================= delete from _____ where _____; ================改========================= update ______ set ______; ================查========================= 升降排序:select ____ from ____ order by id (asc|desc); 模糊查询:select ___ from ____ where col-name like '(%|_)'; 分页查询:select ___ from ____ where ____ limit m,n; 分组查询:select ___ from ____ where ____ group by ____ having___; 多表查询: