색인초록과데이터베이스6주차202320614이지은
테이블 (4)
activity (Untitled)
- activity_id (Key) — PK — 기본 키 — NOT NULL
- activity_name (Field)
class (Untitled2)
- class_id (Key) — PK — 기본 키 — NOT NULL
- class_code (활동코드)
- instructor_name (강사명)
- schedule (시간 정보)
- max_capacity (정원)
- activity_id (활동) — PK — 외래 키 → activity.activity_id — NOT NULL
- level (난이도 레벨)
member (Untitled3)
- member_id (Key) — PK — 기본 키 — NOT NULL
- member_name (회원명)
- age (나이)
- gender (성별)
- contact_info (Field3)
registration
- registration_id (Key) — PK — 기본 키 — NOT NULL
- member_id (Key2) — PK — 외래 키 → member.member_id — NOT NULL
- class_id (Key3) — PK — 외래 키 → class.class_id — NOT NULL
- registration_date (Field3)