GPT TF 잡아라

테이블 (3)

Reservation (Untitled3)

  • reservationId (Key) — int — 기본 키 — NOT NULL
  • userId (Key2) — int — 외래 키 → User.userId — NOT NULL
  • roomId (Key3) — int — 외래 키 → Room.roomId — NOT NULL
  • userId (Field) — int
  • roomId (Field2) — int
  • startTime (Field3) — datetime
  • endTime (Field4) — datetime
  • status (Field5) — int
  • regdate (Field6) — datetime

Room (Untitled2)

  • roomId (Key) — int — 기본 키 — NOT NULL
  • roomName (Field) — varchar
  • capacity (Field2) — int

User (Untitled)

  • userId (Key) — int — 기본 키 — NOT NULL
  • name (Field) — varchar