• <small id='WTP9X'></small><noframes id='WTP9X'>

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

        <bdo id='WTP9X'></bdo><ul id='WTP9X'></ul>
      <i id='WTP9X'><tr id='WTP9X'><dt id='WTP9X'><q id='WTP9X'><span id='WTP9X'><b id='WTP9X'><form id='WTP9X'><ins id='WTP9X'></ins><ul id='WTP9X'></ul><sub id='WTP9X'></sub></form><legend id='WTP9X'></legend><bdo id='WTP9X'><pre id='WTP9X'><center id='WTP9X'></center></pre></bdo></b><th id='WTP9X'></th></span></q></dt></tr></i><div id='WTP9X'><tfoot id='WTP9X'></tfoot><dl id='WTP9X'><fieldset id='WTP9X'></fieldset></dl></div>
        <tfoot id='WTP9X'></tfoot>
      1. mysql中的复合外键是什么?

        What is a composite foreign key in mysql?(mysql中的复合外键是什么?)

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

              <bdo id='MmQFC'></bdo><ul id='MmQFC'></ul>
                <tbody id='MmQFC'></tbody>
              <tfoot id='MmQFC'></tfoot>

                • <small id='MmQFC'></small><noframes id='MmQFC'>

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

                  本文介绍了mysql中的复合外键是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  在我使用的框架 (yii) 的文档中看到这个术语(复合外键).什么是复合外键(在 mySql 数据库中)?

                  Seeing this term (composite foreign key) in the documentation for a framework I am using (yii). What is a composite foreign key (in a mySql database)?

                  (我的猜测是,给定两个表之间的关系,一个表有一个与另一个表的 id 同名的列.)

                  *免责声明:我做了尽职调查,在谷歌上搜索了整整两分钟,但没有找到该术语的最终定义.

                  *Disclaimer: I did my due diligence and Googled this for like two whole minutes but found no conclusive definition for the term..

                  推荐答案

                  composite key多个属性来唯一标识一个实体强>发生.这与复合键的不同之处在于,组成键的一个或多个属性本身并不是简单的键.

                  A composite key consists of more than one attribute to uniquely identify an entity occurrence. This differs from a compound key in that one or more of the attributes, which make up the key, are not simple keys in their own right.

                  例如,您有一个保存 CD 收藏的数据库.其中一个实体称为轨道,它保存 CD 上轨道的详细信息.这有一个组合键,由 CD 名称、曲目编号组成.

                  For example, you have a database holding your CD collection. One of the entities is called tracks, which holds details of the tracks on a CD. This has a composite key of CD name, track number.

                  曲目实体中的CD名称是一个简单的键,链接到CD实体,但曲目编号本身并不是一个简单的键.

                  CD name in the track entity is a simple key, linking to the CD entity, but track number is not a simple key in its own right.

                  这篇关于mysql中的复合外键是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                  相关文档推荐

                  Is PHP or PHP based web framework stateful or stateless?(PHP 或基于 PHP 的 Web 框架是有状态的还是无状态的?)
                  How to parse django style template tags(如何解析 django 样式模板标签)
                  What is a good setup for editing PHP in Emacs?(在 Emacs 中编辑 PHP 的好设置是什么?)
                  How to check whether specified PID is currently running without invoking ps from PHP?(如何在不从 PHP 调用 ps 的情况下检查指定的 PID 当前是否正在运行?)
                  What#39;s the difference between escapeshellarg and escapeshellcmd?(escapeshellarg 和escapeshellcmd 有什么区别?)
                  php in background exec() function(php 后台 exec() 函数)
                  <i id='eAsIm'><tr id='eAsIm'><dt id='eAsIm'><q id='eAsIm'><span id='eAsIm'><b id='eAsIm'><form id='eAsIm'><ins id='eAsIm'></ins><ul id='eAsIm'></ul><sub id='eAsIm'></sub></form><legend id='eAsIm'></legend><bdo id='eAsIm'><pre id='eAsIm'><center id='eAsIm'></center></pre></bdo></b><th id='eAsIm'></th></span></q></dt></tr></i><div id='eAsIm'><tfoot id='eAsIm'></tfoot><dl id='eAsIm'><fieldset id='eAsIm'></fieldset></dl></div>

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

                      <bdo id='eAsIm'></bdo><ul id='eAsIm'></ul>
                        <tbody id='eAsIm'></tbody>
                        1. <tfoot id='eAsIm'></tfoot>

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