没有合适的资源?快使用搜索试试~ 我知道了~
第4.5章-使用SQL管理数据库和表-SQL的数据查询功能(多表)--2016-09-26.pptx
需积分: 9 0 下载量 86 浏览量
2021-03-23
10:38:59
上传
评论
收藏 1.75MB PPTX 举报
温馨提示
![preview](https://dl-preview.csdnimg.cn/16052498/0001-5dc81b15fa6e91fd32240fbebf75123b_thumbnail.jpeg)
![preview-icon](https://csdnimg.cn/release/downloadcmsfe/public/img/scale.ab9e0183.png)
试读
34页
数据库
资源详情
资源评论
资源推荐
![](https://csdnimg.cn/release/download_crawler_static/16052498/bg1.jpg)
第 4 章 使用 SQL 管理数据库和表
4.5 SQL 的数据查询功能(多表)
![](https://csdnimg.cn/release/download_crawler_static/16052498/bg2.jpg)
数据查询
1. SELECT 基本结构
2. 单表查询
3. 多表查询
![](https://csdnimg.cn/release/download_crawler_static/16052498/bg3.jpg)
学习目标
1) 能够使用内连接进行多表查询
2) 能够使用左外连接和右外连接进行多表查询
3) 能够使用子查询进行多表查询能够使用多表进行查询
![](https://csdnimg.cn/release/download_crawler_static/16052498/bg4.jpg)
查询语法:
select 列名列表
from 表名列表
where....
![](https://csdnimg.cn/release/download_crawler_static/16052498/bg5.jpg)
1 、多表查询的作用:
比如:我们想查询孙悟空的名字和他所在的部门的
名字,则需要使用多表查询。如果一条 SQL 语句查询多
张表,因为查询结果在多张不同的表中。每张表取 1 列
或多列。
2 、多表查询的分类:
剩余33页未读,继续阅读
![docx](https://img-home.csdnimg.cn/images/20210720083331.png)
![pptx](https://img-home.csdnimg.cn/images/20210720083543.png)
![pptx](https://img-home.csdnimg.cn/images/20210720083543.png)
![pptx](https://img-home.csdnimg.cn/images/20210720083543.png)
![ppt](https://img-home.csdnimg.cn/images/20210720083527.png)
![gz](https://img-home.csdnimg.cn/images/20210720083447.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![pptx](https://img-home.csdnimg.cn/images/20210720083543.png)
![pptx](https://img-home.csdnimg.cn/images/20210720083543.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![txt](https://img-home.csdnimg.cn/images/20210720083642.png)
![pptx](https://img-home.csdnimg.cn/images/20210720083543.png)
![pptx](https://img-home.csdnimg.cn/images/20210720083543.png)
![pptx](https://img-home.csdnimg.cn/images/20210720083543.png)
![ppt](https://img-home.csdnimg.cn/images/20210720083527.png)
![pptx](https://img-home.csdnimg.cn/images/20210720083543.png)
![application/x-rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![exe](https://img-home.csdnimg.cn/images/20210720083343.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![docx](https://img-home.csdnimg.cn/images/20210720083331.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![avatar](https://profile-avatar.csdnimg.cn/default.jpg!1)
dzzhh
- 粉丝: 0
- 资源: 7
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助
![voice](https://csdnimg.cn/release/downloadcmsfe/public/img/voice.245cc511.png)
![center-task](https://csdnimg.cn/release/downloadcmsfe/public/img/center-task.c2eda91a.png)
安全验证
文档复制为VIP权益,开通VIP直接复制
![dialog-icon](https://csdnimg.cn/release/downloadcmsfe/public/img/green-success.6a4acb44.png)
评论0