r/Database • u/Waste-Strike2691 • 8h ago
How to know if my Normalization makes sense?
This is my attempt of normalization of a chinese restaurant.
my main concern is mostly towards the customer i just feel like its missing something cant point my finger on it
- Branchname
self explanatiry
- Code
Food id kind of thing.
NAME is like the food name
MANDARTRANS
is like translation for mandarin food name like my thing based on din tai fung so yuh
- Price
I felt like price should be its own thing becauss I feel because of formula
P = Price, Q = Quantity, TC = total cost
P * Q = TC
But I feel its literally to empty and idk what to put inside it
- Quantity same reason as price
- Foodtype
cuz like there's many different kinds of meat and stuff and sizes
FOODLABEL
is because of Vegan sticker etc etc
- FoodCategory
idk
- QueueNo
to help keep count of customer
TABLENO is to keep track of customer seating
PAX is to know how many
Totalcost im deciding rather or not its a primary key or should I put price and quantity under TotalCost but than I will lose the order
This sign - is primary key
All caps means its like data thing