<i id='xxoL7'><tr id='xxoL7'><dt id='xxoL7'><q id='xxoL7'><span id='xxoL7'><b id='xxoL7'><form id='xxoL7'><ins id='xxoL7'></ins><ul id='xxoL7'></ul><sub id='xxoL7'></sub></form><legend id='xxoL7'></legend><bdo id='xxoL7'><pre id='xxoL7'><center id='xxoL7'></center></pre></bdo></b><th id='xxoL7'></th></span></q></dt></tr></i><div id='xxoL7'><tfoot id='xxoL7'></tfoot><dl id='xxoL7'><fieldset id='xxoL7'></fieldset></dl></div>

  • <legend id='xxoL7'><style id='xxoL7'><dir id='xxoL7'><q id='xxoL7'></q></dir></style></legend>

    <small id='xxoL7'></small><noframes id='xxoL7'>

      <bdo id='xxoL7'></bdo><ul id='xxoL7'></ul>

        <tfoot id='xxoL7'></tfoot>

        使用 SQLite 进行完全外部联接

        FULL OUTER JOIN with SQLite(使用 SQLite 进行完全外部联接)

            <i id='gYBkR'><tr id='gYBkR'><dt id='gYBkR'><q id='gYBkR'><span id='gYBkR'><b id='gYBkR'><form id='gYBkR'><ins id='gYBkR'></ins><ul id='gYBkR'></ul><sub id='gYBkR'></sub></form><legend id='gYBkR'></legend><bdo id='gYBkR'><pre id='gYBkR'><center id='gYBkR'></center></pre></bdo></b><th id='gYBkR'></th></span></q></dt></tr></i><div id='gYBkR'><tfoot id='gYBkR'></tfoot><dl id='gYBkR'><fieldset id='gYBkR'></fieldset></dl></div>
                <legend id='gYBkR'><style id='gYBkR'><dir id='gYBkR'><q id='gYBkR'></q></dir></style></legend>

                  <tbody id='gYBkR'></tbody>
                  <bdo id='gYBkR'></bdo><ul id='gYBkR'></ul>
                • <tfoot id='gYBkR'></tfoot>

                  <small id='gYBkR'></small><noframes id='gYBkR'>

                • 本文介绍了使用 SQLite 进行完全外部联接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  SQLite 只有 INNER 和 LEFT JOIN.

                  SQLite only has INNER and LEFT JOIN.

                  有没有办法对 SQLite 进行完全外部联接?

                  Is there a way to do a FULL OUTER JOIN with SQLite?

                  推荐答案

                  是的,请参阅 维基百科.

                  SELECT employee.*, department.*
                  FROM   employee 
                         LEFT JOIN department 
                            ON employee.DepartmentID = department.DepartmentID
                  UNION ALL
                  SELECT employee.*, department.*
                  FROM   department
                         LEFT JOIN employee
                            ON employee.DepartmentID = department.DepartmentID
                  WHERE  employee.DepartmentID IS NULL
                  

                  这篇关于使用 SQLite 进行完全外部联接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Building a comma separated list?(建立一个逗号分隔的列表?)
                  Errors in SQL Server while importing CSV file despite varchar(MAX) being used for each column(尽管每列都使用了 varchar(MAX),但在导入 CSV 文件时 SQL Server 中出现错误)
                  How can I import an Excel file into SQL Server?(如何将 Excel 文件导入 SQL Server?)
                  Export table to file with column headers (column names) using the bcp utility and SQL Server 2008(使用 bcp 实用程序和 SQL Server 2008 将表导出到带有列标题(列名称)的文件)
                  Concat field value to string in SQL Server(将字段值连接到 SQL Server 中的字符串)
                  SQL Server Bulk insert of CSV file with inconsistent quotes(SQL Server 批量插入带有不一致引号的 CSV 文件)
                  1. <legend id='3D4Rv'><style id='3D4Rv'><dir id='3D4Rv'><q id='3D4Rv'></q></dir></style></legend>
                    • <i id='3D4Rv'><tr id='3D4Rv'><dt id='3D4Rv'><q id='3D4Rv'><span id='3D4Rv'><b id='3D4Rv'><form id='3D4Rv'><ins id='3D4Rv'></ins><ul id='3D4Rv'></ul><sub id='3D4Rv'></sub></form><legend id='3D4Rv'></legend><bdo id='3D4Rv'><pre id='3D4Rv'><center id='3D4Rv'></center></pre></bdo></b><th id='3D4Rv'></th></span></q></dt></tr></i><div id='3D4Rv'><tfoot id='3D4Rv'></tfoot><dl id='3D4Rv'><fieldset id='3D4Rv'></fieldset></dl></div>

                      • <bdo id='3D4Rv'></bdo><ul id='3D4Rv'></ul>

                            <tfoot id='3D4Rv'></tfoot>

                            <small id='3D4Rv'></small><noframes id='3D4Rv'>

                              <tbody id='3D4Rv'></tbody>