<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 进行完全外部联接

        时间:2023-10-10

            <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 进行完全外部联接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:在 IndexedDB 中,有没有办法进行排序的复合查询? 下一篇:插入过程中出现 SQLite 错误“尝试写入只读数据库"?

                  相关文章

                  1. <legend id='3D4Rv'><style id='3D4Rv'><dir id='3D4Rv'><q id='3D4Rv'></q></dir></style></legend>
                  2. <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'>