- 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.
推薦閱讀
- AngularJS Testing Cookbook
- ThinkPHP 5實戰(zhàn)
- JavaScript:Functional Programming for JavaScript Developers
- 你必須知道的204個Visual C++開發(fā)問題
- Access 2016數(shù)據(jù)庫管
- Python數(shù)據(jù)可視化之Matplotlib與Pyecharts實戰(zhàn)
- Drupal 8 Module Development
- Tableau 10 Bootcamp
- 好好學Java:從零基礎到項目實戰(zhàn)
- Procedural Content Generation for C++ Game Development
- Python全棧數(shù)據(jù)工程師養(yǎng)成攻略(視頻講解版)
- 匯編語言編程基礎:基于LoongArch
- MySQL從入門到精通
- VMware vRealize Orchestrator Essentials
- C語言進階:重點、難點與疑點解析