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
miniyao
V2EX  ›  MySQL

连表查询 outer join 一般在什么情景下用的啊?

  •  
  •   miniyao · Mar 7, 2018 · 3281 views
    This topic created in 3013 days ago, the information mentioned may be changed or developed.
    一般用 join 多,left join, right join, inner join, outer join 都在什么情景下用呢?
    4 replies    2018-03-07 15:51:55 +08:00
    paragon
        1
    paragon  
       Mar 7, 2018
    数据库系统概念
    miniyao
        3
    miniyao  
    OP
       Mar 7, 2018
    @finull 谢谢!这个表很清楚。

    有没有什么方法,可以从表 A 中剔除 A inner join B 的重合部分?(类似 EXCEPT 的概念)
    jin7
        4
    jin7  
       Mar 7, 2018
    有的时候用 inner join 发现有的数据没查询出来.
    就用 outer join 了.
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2925 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 13:37 · PVG 21:37 · LAX 06:37 · JFK 09:37
    ♥ Do have faith in what you're doing.