Database:
Trading Card Shop
Created by Rowen Prather
The e-r
diagram
+ Employees (Name: string, Employee_ID: integer,
days working: string)
+Customer (cus_ID: integer, Name: string, Email:
string, balance: integer)
The relations +cards (name: string, set: string, rarity:
string(common, uncommon, rare, mythic rare), foil:
string(non, foil, full art, full art foil), price: integer)
+Inventory ( item_ID: integer, name: string, price:
integer)
+Tournament (cus_ID: string, format: string, date:
string, table_num: integer(1-12))
Normalization
Keys and contraints
+ Primary key + Not null
+ Foreign key + Unique
+ check
Queries and code
Any questions?