2024-ex-04
Tables (9)
Untitled (CLIENT)
- Key (clientID) — int(100) — Primary key — NOT NULL
- Field (name) — char(30)
- Field (phone) — int(11)
- Field (email) — char(30)
- Field (address) — cahr(30)
Untitled (MOVIE)
- Key (movieID) — int(10) — Primary key — NOT NULL
- Field (title) — char(30)
- Field (pubYear) — int(4)
- Field (pubMonth) — int(2)
- Field (description) — LONGTEXT
- Field (award) — LONGTEXT
Untitled (DVDITEM)
- Key (itemID) — int(100) — Primary key — NOT NULL
- Field (buyingDate) — date
- Field (price) — int(10)
- Field (startusLevel) — char(1)
- Key (movieID) — int(10) — Foreign key → Untitled.Key — NOT NULL
Untitled (LENT)
- Key (rentID) — int(1000) — Primary key — NOT NULL
- Field (rentDate) — date
- Field (returnDate) — date
- Key (itemID) — int(100) — Foreign key → Untitled.Key — NOT NULL
- Key (clientID) — int(100) — Foreign key → Untitled.Key — NOT NULL
Untitled (GENRE)
- Key (genreID) — int(5) — Primary key — NOT NULL
- Field (name) — char(30)
- Field (description) — LONGTEXT
Untitled (MOVIE-GENRE)
- Key (movieID) — int(10) — Foreign key → Untitled.Key — NOT NULL
- Key (genreID) — int(5) — Foreign key → Untitled.Key — NOT NULL
Untitled (PERSON)
- Key (personID) — int(10) — Primary key — NOT NULL
- Field (fname) — char(30)
- Field (minit) — char(1)
- Field (lname) — char(30)
- Field (description) — LONGTEXT
- Field (award) — LONGTEXT
Untitled (ROLE)
- Key (roleID) — int(3) — Primary key — NOT NULL
- Field (roleTitle) — char(30)
- Field (description) — LONGTEXT
Untitled (CASTING)
- Key (movieID) — int(10) — Foreign key → Untitled.Key — NOT NULL
- Key (personID) — int(10) — Foreign key → Untitled.Key — NOT NULL
- Key (roleID) — int(3) — Foreign key → Untitled.Key — NOT NULL