Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Row (database)

From Wikipedia, the free encyclopedia
Record in a relational database table
This article has multiple issues. Please helpimprove it or discuss these issues on thetalk page.(Learn how and when to remove these messages)
This articlemay need to be rewritten to comply with Wikipedia'squality standards.You can help. Thetalk page may contain suggestions.(December 2024)
This articlerelies largely or entirely on asingle source. Relevant discussion may be found on thetalk page. Please helpimprove this article byintroducing citations to additional sources.
Find sources: "Row" database – news ·newspapers ·books ·scholar ·JSTOR
(April 2020)
(Learn how and when to remove this message)

In arelational database, arow or "record" or "tuple", represents a single, implicitly structureddata item in atable. A database table can be thought of as consisting of rows andcolumns.[1] Each row in a table represents a set of related data, and every row in the table has the same structure.

For example, in a table that represents companies, each row might represent a single company. Columns might represent things like company name, address, etc. In a table that representsthe association of employees with departments, each row would associate one employee with one department.

The implicit structure of a row, and the meaning of the data values in a row, requires that the row be understood as providing a succession of data values, one in each column of the table. The row is then interpreted as arelvar composed of a set oftuples, with each tuple consisting of the two items: the name of the relevant column and the value this row provides for that column.

Each column expects a data value of a particulartype.

For example, one column might require a uniqueidentifier, another might require text representing a person's name, another might require an integer representing hourly pay indollars.

References

[edit]
  1. ^"What is a database row?" Cory Janssen, Techopedia, retrieved 27 June 2014
Types
Concepts
Objects
Components
Functions
Related topics
Retrieved from "https://en.wikipedia.org/w/index.php?title=Row_(database)&oldid=1261384159"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp