수강신청
테이블 (3)
과목 (subject)
- 과목코드 (su_code) — varchar(20) — 기본 키 — NOT NULL
- 과목이름 (su_title) — varchar(20)
- 과목시간 (su_time) — int not null
수강신청 (attend)
- 수강번호 (at_code) — int not null — 기본 키 — NOT NULL
- 정원 (at_count) — int
- 학번 (at_st_code) — int not null — 외래 키 → 학생.학번 — NOT NULL
- 과목코드 (at_su_code) — varchar(20) — 외래 키 → 과목.과목코드 — NOT NULL
학생 (student)
- 학번 (st_code) — int not null — 기본 키 — NOT NULL
- 이름 (st_name) — varchar(20)
- 학과 (st_major) — varchar(20)