摘要: 1、指定列查询 1.1、查询所有记录 select * from student; 1.2、查询学号、学生名字 select sno,sname from student; 1.3、定义列的别名 select sno as 学号,sname as 学生名字 from student; + + + | 阅读全文
posted @ 2022-12-04 15:41 小粉优化大师 阅读(27) 评论(0) 推荐(0) 编辑
摘要: 1、备份 1.1、备份多张表 mysqldump -uroot -proot cjgl score course > score_course.sql 1.2、备份多个数据库 mysqldump -uroot -proot --databases cjgl school > cjgl_school. 阅读全文
posted @ 2022-12-04 15:07 小粉优化大师 阅读(23) 评论(0) 推荐(0) 编辑