- Learning PostgreSQL 11
- Salahaldin Juba Andrey Volkov
- 173字
- 2021-07-02 13:11:37
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.
推薦閱讀
- JavaScript+jQuery網頁特效設計任務驅動教程(第2版)
- C語言程序設計基礎與實驗指導
- 青少年美育趣味課堂:XMind思維導圖制作
- Silverlight魔幻銀燈
- Raspberry Pi 2 Server Essentials
- Microsoft Dynamics GP 2013 Reporting, Second Edition
- Unity 5 for Android Essentials
- Arduino家居安全系統構建實戰
- Java編程從入門到精通
- 零基礎學HTML+CSS
- Python Machine Learning Blueprints:Intuitive data projects you can relate to
- App Inventor少兒趣味編程動手做
- 零基礎C#學習筆記
- Android智能手機APP界面設計實戰教程
- C語言程序設計教程