摘要: 1、查询 完整的查询语句 select [distinct] {* | 字段 | 聚合函数 | 表达式}from 表名 where 筛选数据,过滤数据 group by 分组,为了让聚合函数统计 having 分完组后过滤的条件 order by 字段名,字段名(字段名后面再加字段名) desc | 阅读全文
posted @ 2018-09-14 21:46 温暖你的心 阅读(928) 评论(0) 推荐(0) 编辑
摘要: 一:完整查询语句 1、拷贝表 *** create table copy_table select *from customer ; 拷贝结构 与数据 create table copy_table select *from customer where 0 > 1; 仅拷贝结构 共同点: 索引 不 阅读全文
posted @ 2018-09-14 19:57 温暖你的心 阅读(1336) 评论(0) 推荐(0) 编辑