亚洲免费在线-亚洲免费在线播放-亚洲免费在线观看-亚洲免费在线观看视频-亚洲免费在线看-亚洲免费在线视频

Database: key

系統(tǒng) 2550 0

super-key:? Any key that has more columns than necessary to uniquely identify each row in the table is called a super-key (think of it as a super-set).

candidate key:? if the key has the minimum amount of columns necessary to uniquely identify each row then it is called a minimal super-key. A minimal super-key is also known as a candidate key, and there must be one or more candidate keys in a table.

foreign key:? While unique and primary keys both enforce uniqueness on the column(s) of one table, foreign keys define a relationship between two tables. A foreign key identifies a column or group of columns in one (referencing) table that refers to a column or group of columns in another (referenced) table

Can a table have multiple unique, foreign, and/or primary keys?

A table can have multiple unique and foreign keys. However, a table can have only one primary key.

Can a unique key have NULL values? Can a primary key have NULL values?

Unique key columns are allowed to hold NULL values. The values in a primary key column, however, can? never ?be NULL.

Can a foreign key reference a non-primary key?

Yes, a foreign key can actually reference a key that is not the primary key of a table. But, a foreign key must reference a? unique ?key.

Can a foreign key contain null values?

Yes, a foreign key can hold NULL values. Because foreign keys can reference unique, non-primary keys – which can hold NULL values – this means that foreign keys can themselves hold NULL values as well.

natural key:? A natural key is a key composed of columns that actually have a logical relationship to other columns within a table.

simple key:? In a database table, a simple key is just a single attribute (which is just a column) that can uniquely identify a row. So, any single column in a table that can uniquely identify a row is a simple key. The reason it’s called a? simple ?key is because of the fact that it is simple in the sense that it’s just composed of? one ?column (as opposed to multiple columns) and that’s it.

secondary key:? A given table may have more than just one choice for a primary key. Basically, there may be another column (or combination of columns for a multi-column primary key) that qualify as primary keys. Any combination of column(s) that may qualify to be a primary key are known as candidate keys. This is because they are considered candidates for the primary key. And the options that are? not ?selected to be the primary key are known as secondary keys.

Database: key


更多文章、技術(shù)交流、商務(wù)合作、聯(lián)系博主

微信掃碼或搜索:z360901061

微信掃一掃加我為好友

QQ號(hào)聯(lián)系: 360901061

您的支持是博主寫作最大的動(dòng)力,如果您喜歡我的文章,感覺我的文章對(duì)您有幫助,請(qǐng)用微信掃描下面二維碼支持博主2元、5元、10元、20元等您想捐的金額吧,狠狠點(diǎn)擊下面給點(diǎn)支持吧,站長非常感激您!手機(jī)微信長按不能支付解決辦法:請(qǐng)將微信支付二維碼保存到相冊(cè),切換到微信,然后點(diǎn)擊微信右上角掃一掃功能,選擇支付二維碼完成支付。

【本文對(duì)您有幫助就好】

您的支持是博主寫作最大的動(dòng)力,如果您喜歡我的文章,感覺我的文章對(duì)您有幫助,請(qǐng)用微信掃描上面二維碼支持博主2元、5元、10元、自定義金額等您想捐的金額吧,站長會(huì)非常 感謝您的哦!!!

發(fā)表我的評(píng)論
最新評(píng)論 總共0條評(píng)論
主站蜘蛛池模板: 99re66热这里只有精品首页 | 香蕉久久夜色精品国产2020 | 夭天干夜夜怕 | 国产精品久久久久乳精品爆 | 中文日产国产精品久久 | 亚洲精品国产第一区二区三区 | 一 级 黄 中国色 片 | 国产精品2020在线看亚瑟 | 97福利 | 香蕉视频在线观看黄 | 亚洲综合欧美 | 亚洲va欧美va人人爽夜夜嗨 | 国产女人成人精品视频 | 免费国产高清精品一区在线 | 伊人二区 | 九九99久久精品国产 | 日日爽日日操 | 中文字暮文字暮 | 国产日产综合 | 免费观看男女羞羞的视频网站 | 色噜噜狠狠成人中文小说 | 国产午夜精品福利 | 国产欧美精品午夜在线播放 | 国产精品公开免费视频 | 天天干天天色综合 | 狼人香蕉香蕉在线视频播放 | 欧美特级爽毛片 | 黄黄的网站在线观看 | 日韩欧美亚洲 | 四虎在线永久视频观看 | 久久久久国产视频 | 九九涩 | 免费视频成人国产精品网站 | 老太婆性杂交毛片 | aa大片成人免费网站 | 欧美日韩中文字幕一区二区高清 | 日韩国产欧美一区二区三区 | 波多野结衣手机视频一区 | 884hutv四虎永久7777 | 波多野结衣久久精品 | 狠狠色伊人亚洲综合成人 |