super key : relation에서 tuple을 unique하게 식별할 수 있는 attribute SET .
candidate key : super key 중 어느 한 attribute라도 제거하면 unique하게 tuple을 식별할 수 있는 attribute set.
primary key : candidate key 중 실제로 선택된 key.
unique key(alternative key) : primary key가 아닌 candidate key.
foreign key : 다른 relation의 Primary Key를 참조하는 attribute Set
'CS 과목(CS科目) > 데이터 베이스(データベース)' 카테고리의 다른 글
create database vs create schema (0) | 2025.02.05 |
---|---|
RDBMS(Feat. 관계형 데이터베이스, relation, set, list etc) (0) | 2025.02.05 |
database 기본 개념(Feat. data models, conceptual level, logical level, physical level, three schema architecture etc) (0) | 2025.01.31 |
internal schema (0) | 2025.01.31 |
Inner Join과 Cross Join(세타 Join)의 차이 (0) | 2023.04.22 |