1절

Data Model

정보를 저장하는 형식 혹은 틀.

파이썬처럼 다양한 형식을 지원할 수도 있음

Key-value Model

Relational Model

relation r is a subset of D_1 * D_2 * … * Dn

의미있는 tuple이 왜 정해지냐? 현실세계의 무언가를 반영하기 때문이다.

Attribute Types

Each attribute of a relation has a name

The set of allowed values for each attribute is called the domain of the attribute

attribute (column), domain of the attribute

attribute values are (normally) required to be atomic, that is, indivisible

2절

Relation Schema

결국 attribution list이다.

R = (A1, A2, …, An)

Customer-schema = (customer-name, customer-street, customer-city)

r(R) is a relation (variable) on the relation schema R

customer(Customer-schema)