- Learning PostgreSQL 10(Second Edition)
- Salahaldin Juba Andrey Volkov
- 173字
- 2021-07-02 22:42:02
Tuple
A tuple is a set of ordered attributes. They are written by listing the elements within parentheses () and separated by commas, such as (john, smith, 1971). Tuple elements are identified via the attribute name. Tuples have the following properties:
- (a1,a2, a3,…,an) = (b1, b2,b3,…,bn ) if and only if a1= b1, a2=b2, …,an= bn
- A tuple is not a set; the order of attributes matters as well as duplicate members
- (a1, a2) ≠(a2, a1)
- (a1, a1) ≠(a1)
- A tuple has a finite set of attributes
In the formal relational model, multi-valued attributes as well as composite attributes are not allowed. This is important to reduce data redundancy and increase data consistency. This isn't strictly true in modern relational database systems because of the utilization of complex data types such as JSON and key-value stores.
There is a lot of debate regarding the application of normalization; the rule of thumb is to apply normalization unless there is a good reason not to do so.
推薦閱讀
- 網(wǎng)絡(luò)服務(wù)器架設(shè)(Windows Server+Linux Server)
- 機(jī)器學(xué)習(xí)及應(yīng)用(在線實(shí)驗(yàn)+在線自測(cè))
- 自動(dòng)檢測(cè)與傳感技術(shù)
- AWS Certified SysOps Administrator:Associate Guide
- Windows 7寶典
- 具比例時(shí)滯遞歸神經(jīng)網(wǎng)絡(luò)的穩(wěn)定性及其仿真與應(yīng)用
- 電腦主板現(xiàn)場(chǎng)維修實(shí)錄
- 水下無線傳感器網(wǎng)絡(luò)的通信與決策技術(shù)
- The Python Workshop
- 面向?qū)ο蟪绦蛟O(shè)計(jì)綜合實(shí)踐
- Windows Server 2008 R2活動(dòng)目錄內(nèi)幕
- LMMS:A Complete Guide to Dance Music Production Beginner's Guide
- 精通LabVIEW程序設(shè)計(jì)
- Hands-On Dashboard Development with QlikView
- Linux Shell Scripting Cookbook(Third Edition)