멋사블로그

테이블 (4)

Comment (Untitled3)

  • Comment_ID (Key) — 기본 키 — NOT NULL
  • Created_at (Field)
  • content (Field2)
  • UserId (Key2) — 외래 키 → User.UserId — NOT NULL
  • Post_ID (Key3) — 외래 키 → Post.Post_ID — NOT NULL

Post (Untitled2)

  • Post_ID (Key) — 기본 키 — NOT NULL
  • Created_at (Field)
  • title (Field2)
  • content (Field3)
  • UserId (Key2) — 외래 키 → User.UserId — NOT NULL

User (Untitled)

  • UserId (Key) — 기본 키 — NOT NULL
  • name (Field)
  • email (Field2)

UserProfile (Untitled4)

  • uprofileID (Key) — 기본 키 — NOT NULL
  • 전공 (Field)
  • 나이 (Field2)
  • UserId (Key2) — 외래 키 → User.UserId — NOT NULL