- 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.
推薦閱讀
- Visual C# 2008開發(fā)技術(shù)實(shí)例詳解
- 快學(xué)Flash動畫百例
- 分布式多媒體計(jì)算機(jī)系統(tǒng)
- 基于ARM 32位高速嵌入式微控制器
- JSP從入門到精通
- Extending Ansible
- Hands-On Data Warehousing with Azure Data Factory
- Photoshop CS4數(shù)碼攝影處理50例
- 工業(yè)機(jī)器人力覺視覺控制高級應(yīng)用
- 案例解說Delphi典型控制應(yīng)用
- Serverless Design Patterns and Best Practices
- Microsoft System Center Data Protection Manager Cookbook
- 天才與算法:人腦與AI的數(shù)學(xué)思維
- 網(wǎng)管員世界2009超值精華本
- 多媒體技術(shù)應(yīng)用教程