Computer-Science

Relational Data Model

๊ด€๊ณ„ํ˜• ๋ฐ์ดํ„ฐ ๋ชจ๋ธ์˜ ๊ฐœ๋…

๊ด€๊ณ„๋ชจ๋ธ ์šฉ์–ด

๊ด€๊ณ„๋ชจ๋ธ์˜ ๊ตฌ์„ฑ

Relation์˜ ํŠน์„ฑ๋“ค

๊ด€๊ณ„ํ˜• ๋ฐ์ดํ„ฐ ๋ชจ๋ธ์˜ ์ œ์•ฝ์กฐ๊ฑด (constraint)

(1) ๋„๋ฉ”์ธ ์ œ์•ฝ ์กฐ๊ฑด(domain constraints)

(2) ํ‚ค ์ œ์•ฝ์กฐ๊ฑด(key constraints)

(3) NULL์— ๋Œ€ํ•œ ์ œ์•ฝ์กฐ๊ฑด(constraints on NULLs)

(4) ์—”ํ‹ฐํ‹ฐ ๋ฌด๊ฒฐ์„ฑ ์ œ์•ฝ์กฐ๊ฑด(entity integrity constraints)

(5) ์ฐธ์กฐ ๋ฌด๊ฒฐ์„ฑ ์ œ์•ฝ์กฐ๊ฑด(referential integrity constraints)


Source

  1. Fundamentals of Database Systems 6th Edition by Ramez Elmasri, Shamkant B. Navathe.
  2. ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์‹œ์Šคํ…œ (Database System Concepts) 6th Edition by Abranham Silberschatz, Henry F.Korth, S.Sudarchan, ๊น€ํ˜•์ฃผ ์—ญ.