理解tuple in database

  • Overview

    关于database的文献汇中经常会提到tuple这个词。

  • Tuple

    In the context of relational database, a tuple is one record (one row).

    The information in a database can be thought of as a spreadsheet, with columns (known as fields or attributes) representing different categories of information, and tuples (rows) representing all the information from each field associated with a single record.

  • Relational Database World

    The rows in the table from realtional database represent a relationship or a real-world entity.

    In the realtional model, data is stored in relations(tables) and is represented in the form of tuples(rows).

  • Summary

    tuple隐含的意思是各个元素数据类型可能不同,但是所有元素属于同一个entity,是一种realtion;

    vector隐含的是数据类型相同,是不同entity的同一个attribution。

    In mathematics, a tuple is an ordered list of elements.

  • References

  1. techopedia: tuple(database)
  2. Quora: What is a tuple in database?

猜你喜欢

转载自blog.csdn.net/The_Time_Runner/article/details/115333653