首页
注册
登录
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请
登录
›
MySQL 5.5 Community Server
›
MySQL 5.6 Community Server
›
Percona Configuration Wizard
›
XtraBackup 搭建主从复制
Great Sites on MySQL
›
Percona
›
MySQL Performance Blog
›
Severalnines
推荐管理工具
›
Sequel Pro
›
phpMyAdmin
推荐书目
›
MySQL Cookbook
MySQL 相关项目
›
MariaDB
›
Drizzle
参考文档
›
http://mysql-python.sourceforge.net/MySQLdb.html
广告
V2EX
›
MySQL
连表查询 outer join 一般在什么情景下用的啊?
miniyao
·
2018-03-07 09:09:40 +08:00
· 2839 次点击
这是一个创建于 2538 天前的主题,其中的信息可能已经有所发展或是发生改变。
一般用 join 多,left join, right join, inner join, outer join 都在什么情景下用呢?
join
outer
情景
left
4 条回复
•
2018-03-07 15:51:55 +08:00
1
paragon
2018-03-07 10:04:49 +08:00
数据库系统概念
2
finull
2018-03-07 10:12:32 +08:00
1
https://www.codeproject.com/KB/database/Visual_SQL_Joins/Visual_SQL_JOINS_V2.png
3
miniyao
OP
2018-03-07 15:22:40 +08:00
@
finull
谢谢!这个表很清楚。
有没有什么方法,可以从表 A 中剔除 A inner join B 的重合部分?(类似 EXCEPT 的概念)
4
jin7
2018-03-07 15:51:55 +08:00
有的时候用 inner join 发现有的数据没查询出来.
就用 outer join 了.
关于
·
帮助文档
·
博客
·
API
·
FAQ
·
实用小工具
·
2878 人在线
最高记录 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 26ms ·
UTC 13:59
·
PVG 21:59
·
LAX 05:59
·
JFK 08:59
Developed with
CodeLauncher
♥ Do have faith in what you're doing.