Back to feed
Renewal·서른의 생활코딩

Day 5) Keys in the Relational Data Model 20180601pm

NS
normalstory
cover image



1. A look at the data modeling process

: Conceptual → Logical → Physical → ERD → DBMS (schema work)




데이터베이스모델링 절차요약 20180602 Charles.xlsx
Download







2. A look at keys in the relational data model

(around textbook p.31)




Candidate key 

Each column / attribute in a relation / table / entity

Any of which can potentially become a primary key, alternate key, composite key, or foreign key.


Primary key

Among the attributes/columns that make up a relation/table/entity,

one that is not null (always present) and has no duplicates, 

used to uniquely identify each tuple within the relation/table/entity.


Alternate key

The candidate keys other than the primary key.


Composite key

When no single attribute/column can serve as a primary key, two attributes are combined into a candidate key.


Foreign key

A key that maintains a relationship between two tables / entities.

The relationship carries business meaning.

The child table's FK references the parent table's PK.

The parent table's PK propagates into the child table as an FK.









This English version was translated by Claude.

xlsx데이터베이스모델링 절차요약 20180602 chanwoo.xlsx
친절한 찰쓰씨
Written by
친절한 찰쓰씨

Pleasant Charles — UI/UX researcher at AIT. Keeping notes on design, planning, and slow days here since 2010.

More on the author's page

Keep reading

Renewal

Steadily, for the long haul, without burning out

Mar 31, 2026·9 min
Renewal

Tech-life balance

Feb 7, 2026·3 min
Renewal

Humanality, by Park Jeong-ryeol

Feb 7, 2026·11 min