0% found this document useful (0 votes)
18 views8 pages

Database Powerpoint

The document outlines the structure of a database for a trading card shop, detailing entities such as Employees, Customers, Cards, Inventory, and Tournaments. It includes information on attributes, relationships, normalization, and constraints like primary and foreign keys. Additionally, it prompts for any questions regarding the database design.

Uploaded by

rowen prather
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views8 pages

Database Powerpoint

The document outlines the structure of a database for a trading card shop, detailing entities such as Employees, Customers, Cards, Inventory, and Tournaments. It includes information on attributes, relationships, normalization, and constraints like primary and foreign keys. Additionally, it prompts for any questions regarding the database design.

Uploaded by

rowen prather
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 8

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?

You might also like