Column (database)
What is a column?
A column is a way to store information in a relational database. Think of a table like a big chart. A column is one line that goes up and down the chart. It holds one kind of thing, such as words or numbers.
Each column holds one value for each row in the table. A column can hold text, numbers, or even pointers to files on the computer. Most columns hold simple types of data. Some database systems can hold bigger things, like whole documents, pictures, or video clips. A column can also be called an attribute.
How rows and columns work together
Each row gives one value for every column, so a row is like one neat piece of information. For example, a database might keep company details. It could have columns for an ID, a Company Name, two Address Lines, a City, and a Postal Code. Each row would hold one company's details.
Other names for columns
People often say "field" when they mean "column." Some database experts use "field" to mean one single spot in a row. This helps them talk clearly with other builders of databases. You can read more about Field (computer science).
The words record and field come from older DBMS systems. Those systems were linked to paper filing cabinets, with a card for each customer.
Not every database has columns
The word column does not fit every kind of database. For example, key-value stores do not use the usual relational database setup, so they do not have columns.

Quiz time!
3 questions about Column (database)
What does a column hold?
This article is a child-friendly adaptation of the Wikipedia article on Column (database), available under CC BY-SA 4.0.