e01.org

Column (database)

In a relational database, a column is a set of data values of a particular type, one value for each row of a table. A column may contain text values, numbers, or even pointers to files in the operating system. Columns typically contain simple types, though some relational database systems allow columns to contain more complex data types, such as whole documents, images, or even video clips. A column can also be called an attribute. Each row would provide a data value for each column and would then be understood as a single structured data value. For example, a database that represents company contact information might have the following columns: ID, Company Name, Address Line 1, Address Line 2, City, and Postal Code. More formally, a row is a tuple containing a specific value for each column, for example: (1234, 'Big Company Inc.', '123 East Example Street', '456 West Example Drive', 'Big City', 98765).

In a relational database, a column is a set of data values of a particular type, one value for each row of a table. A column may contain text values, numbers, or even pointers to files in the operating system. Columns typically contain simple types, though some relational database systems allow columns to contain more complex data types, such as whole documents, images, or even video clips. A column can also be called an attribute. Each row would provide a data value for each column and would then be understood as a single structured data value. For example, a database that represents company contact information might have the following columns: ID, Company Name, Address Line 1, Address Line 2, City, and Postal Code. More formally, a row is a tuple containing a specific value for each column, for example: (1234, 'Big Company Inc.', '123 East Example Street', '456 West Example Drive', 'Big City', 98765).

References

  1. ^ "Columnar databases in a big data environment" . dummies.com (Big dummies book) . Retrieved 2015-11-05 . Wikipedia revision 1329216806, retrieved 2026-11-19 · 1446678000.0
  2. ^ "What is Database Column? - Definition from Techopedia" . Techopedia.com . Retrieved 2015-11-05 . Wikipedia revision 1329216806, retrieved 2026-11-19 · 1446678000.0
  3. ^ Rosenberg, Burton. "Relational Databases" . University of Miami . Retrieved 2021-02-26 . Wikipedia revision 1329216806, retrieved 2026-11-19 · 1614294000.0
  4. ^ "An introduction to databases" . www.ucl.ac.uk . Retrieved 2015-11-05 . Wikipedia revision 1329216806, retrieved 2026-11-19 · 1446678000.0
  5. ^ The term "column" also has equivalent applications in other, more generic contexts. See e.g., Flat file database , Table (information) . Wikipedia revision 1329216806, retrieved 2026-11-19 · 1795042800.0
  6. ^ Drake, Mark (August 9, 2019). "A Comparison of NoSQL Database Management Systems and Models" . Digital Ocean . Retrieved 2021-02-26 . Wikipedia revision 1329216806, retrieved 2026-11-19 · 1614294000.0
source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"Column (database)". 1766582080. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1329216806

JSON record · API collection · citation policy