- 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.
推薦閱讀
- 現(xiàn)代測(cè)控電子技術(shù)
- 計(jì)算機(jī)控制技術(shù)
- 80x86/Pentium微型計(jì)算機(jī)原理及應(yīng)用
- 我也能做CTO之程序員職業(yè)規(guī)劃
- INSTANT Drools Starter
- Docker on Amazon Web Services
- Excel 2007常見技法與行業(yè)應(yīng)用實(shí)例精講
- 網(wǎng)絡(luò)服務(wù)器搭建與管理
- Hands-On SAS for Data Analysis
- Machine Learning in Java
- 工業(yè)機(jī)器人應(yīng)用系統(tǒng)三維建模
- 系統(tǒng)安裝、維護(hù)與數(shù)據(jù)備份技巧
- CPLD/FPGA技術(shù)應(yīng)用
- Hands-On Artificial Intelligence for Beginners
- Mastering Windows Group Policy