<small id='21mxy'></small><noframes id='21mxy'>

  • <legend id='21mxy'><style id='21mxy'><dir id='21mxy'><q id='21mxy'></q></dir></style></legend>

      <tfoot id='21mxy'></tfoot>

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

        创建跨不同数据库的视图

        时间:2024-04-15

            <tbody id='6LOZU'></tbody>

        1. <tfoot id='6LOZU'></tfoot>

          <small id='6LOZU'></small><noframes id='6LOZU'>

            <bdo id='6LOZU'></bdo><ul id='6LOZU'></ul>

              <legend id='6LOZU'><style id='6LOZU'><dir id='6LOZU'><q id='6LOZU'></q></dir></style></legend>

                1. <i id='6LOZU'><tr id='6LOZU'><dt id='6LOZU'><q id='6LOZU'><span id='6LOZU'><b id='6LOZU'><form id='6LOZU'><ins id='6LOZU'></ins><ul id='6LOZU'></ul><sub id='6LOZU'></sub></form><legend id='6LOZU'></legend><bdo id='6LOZU'><pre id='6LOZU'><center id='6LOZU'></center></pre></bdo></b><th id='6LOZU'></th></span></q></dt></tr></i><div id='6LOZU'><tfoot id='6LOZU'></tfoot><dl id='6LOZU'><fieldset id='6LOZU'></fieldset></dl></div>
                  本文介绍了创建跨不同数据库的视图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  如果我有数据库D1和数据库D2,以及D1表下的表T1数据库D2下的>T2,是否可以在MySQL数据库D2下创建T1的视图.如果是这样,你能告诉我语法吗?

                  If I have database D1 and database D2, and table T1 under database D1 and table T2 under database D2, is it possible to create a view of T1 under database D2 in MySQL. If so, can you show me the syntax.

                  两个数据库在同一台机器上.

                  Both the databases are on the same machine.

                  推荐答案

                  CREATE VIEW `D2`.`example` AS SELECT * FROM `D1`.`T1`;
                  

                  这篇关于创建跨不同数据库的视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:ORA-01031: 选择视图时权限不足 下一篇:使用自动递增的 id 列创建 MySQL 视图

                  相关文章

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

                  <tfoot id='UAR98'></tfoot>

                      <legend id='UAR98'><style id='UAR98'><dir id='UAR98'><q id='UAR98'></q></dir></style></legend>

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