The confusion is due to the difference in terminology that we use for the logical “model” and implementation of the database.
In an (logical) Entity Relationship Model (ERM), an Entity has Attributes.
When we embed a model in a relational database, the “attribute” for the “entity” is stored as a “column” in the “table”.
In a (implemented) relational database, a “table” contains “columns”.
We add attributes to entities; we add columns to tables.
(This refers to the standard relational model and ignores any discussion of the implementation of the Entity-Attribute-Value (EAV) model in the database.)
For instance:
ALTER TABLE order ADD COLUMN date_received DATETIME ;
This adds the column with the column name date_received to the order table.
We add a column because in the logical model the Order object has the attribute "received date".
source share