산수프

테이블 (3)

Hashtag

  • HashtagId (해시태그 아이디) — int — 기본 키 — NOT NULL
  • keyword (종류) — string(10)

User

  • UserId (사용자 아이디) — int — 기본 키 — NOT NULL
  • Email (이메일) — sring(50)
  • Password (비밀번호) — string(50)
  • Grade (학년) — int
  • Major (전공) — string(50)

User_Hashtag

  • index (인덱스) — int — 기본 키 — NOT NULL
  • UserId (학생아이디) — int — 외래 키 → User.UserId — NOT NULL
  • HashtagId (해시태그 아이디) — int — 외래 키 → Hashtag.HashtagId — NOT NULL