![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
mysql
qq_40536676
这个作者很懒,什么都没留下…
展开
-
Mysql-笔记1-单表
DDL:数据定义语言 用来定义数据库对象 DML:数据操作语言 用来操作数据库表中的记录 DQL:数据查询语言 用来查询数据 DCL:数据控制语言 用来定义访问权限和安全级别 查询: 1.排序查询 select * from 表名order by 字段名 desc 降序 asc升序 默认升序 2.多条件查询 与 select * from yingxiong where ...原创 2019-03-31 02:27:18 · 111 阅读 · 0 评论 -
Mysql-笔记2-多表
-- select e.* from employee e LEFT JOIN department d on d.sn = e.departement_sn -- select e.*,d.sn dsn,d.name dname from employee e,department d where e.departement_sn= d.sn select e.*,d.sn,d.name ...原创 2019-04-01 00:42:03 · 131 阅读 · 0 评论