摘要: 高级 关系 连接 select distinct 列* from 表1 innser|left|right join 表2 on 表1与表2的关系 where ... group by ... (5个聚合函数,avg,max,sum,min,count) having ... order by .. 阅读全文
posted @ 2017-12-25 10:23 Big_hua 阅读(224) 评论(0) 推荐(0) 编辑
摘要: 数据库命令:创建create database 数据库名 charset=utf8;删除drop database 数据库名;查看所有数据库:show databases;使用数据库:use 数据库名; 表命令:create table 表名(列...);唯一标识的要求:id 类型:int unsi 阅读全文
posted @ 2017-12-25 08:45 Big_hua 阅读(147) 评论(0) 推荐(0) 编辑