공연 예매
테이블 (6)
User (Untitled)
- userID (Key) — int — 기본 키 — NOT NULL — 고유한 user id
- password (Field) — varchar
- name (Field2) — varchar
followlist (Untitled3)
- id (Key2) — int — 기본 키 — NOT NULL
- userID (Key) — int — 외래 키 → User.userID — NOT NULL — 고유한 user id
- playID (Key3) — int — 외래 키 → postlist.playID — NOT NULL
- seatID (Key4) — int — 외래 키 → seat.seatID — NOT NULL
pay (Untitled4)
- grade (Key) — int — 기본 키 — NOT NULL
- amount (Field) — int
postlist (Untitled2)
- playID (Key) — int — 기본 키 — NOT NULL
- userID (Key2) — int — 외래 키 → User.userID — NOT NULL — 고유한 user id
- theaterID (Key3) — int — 외래 키 → theater.theaterID — NOT NULL
- remain (Field3) — int
seat (Untitled5)
- seatID (Key) — int — 기본 키 — NOT NULL
- grade (Key2) — int — 외래 키 → pay.grade — NOT NULL
- isNull (Field) — bool
theater (Untitled6)
- theaterID (Key) — int — 기본 키 — NOT NULL
- theaterName (Field2) — varchar
- totalseat (Field) — int