- 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.
推薦閱讀
- Word 2003、Excel 2003、PowerPoint 2003上機指導與練習
- 網上生活必備
- 2018西門子工業專家會議論文集(上)
- 數據挖掘實用案例分析
- 物聯網與云計算
- Mastering Machine Learning Algorithms
- 機器人編程實戰
- DevOps:Continuous Delivery,Integration,and Deployment with DevOps
- 完全掌握AutoCAD 2008中文版:機械篇
- Visual Basic.NET程序設計
- Linux:Powerful Server Administration
- 內模控制及其應用
- ROS Robotics By Example(Second Edition)
- Appcelerator Titanium Smartphone App Development Cookbook(Second Edition)
- Deep Learning with PyTorch Quick Start Guide