멋사_hw

테이블 (6)

scholarship (장학금)

  • scholarship_id (장학금 번호) — 기본 키 — NOT NULL
  • amount (금액)
  • benefit (혜택)
  • provider (제공주체)
  • deadline (마감일)
  • min_grade (최소 학점)
  • description (장학금 이름)

scholarship_income (소득분위)

  • income_range (소득분위) — 기본 키 — NOT NULL
  • scholarship_id (장학금 번호) — 외래 키 → scholarship.scholarship_id — NOT NULL

scholarship_major (전공분야)

  • major_id (전공번호) — 기본 키 — NOT NULL
  • scholarship_id (장학금 번호) — 외래 키 → scholarship.scholarship_id — NOT NULL

school (학교)

  • school_id (학교번호) — 기본 키 — NOT NULL
  • tuition (등록금)
  • region (지역)

user (유저)

  • user_id (유저번호) — 기본 키 — NOT NULL
  • username (이름)
  • password (비밀번호)
  • school_id (학교번호) — 외래 키 → school.school_id — NOT NULL

user_scholarship (지원한 장학금 목록)

  • user_id (유저번호) — 외래 키 → user.user_id — NOT NULL
  • scholarship_id (장학금 번호) — 외래 키 → scholarship.scholarship_id — NOT NULL
  • status (상태)
  • saved at (저장시간)