mysql - Forming my ERD, couple of issues with it -


my erd

description of company

okay, partners , myself created these while ago. going transferring sql through visual basic soon, want make sure ready go. 2 major complaints not able fix was...

"by having transaction , product directly connected unable allow multiple products on same order (customer can't order both latte , cappuccino on same order)." "membership table: not sure data in discounttypetotal means - have multiple pieces of data in same field? (then table isn't on 1nf).

it looks need allow each member have multiple discounts - need table capture that."

how correct these? how else connect transaction products? understand customer can purchase 1 item per transactions, have products , table multiple items? allowing multiple customers have discounts, lost. appreciated.


Comments

Popular posts from this blog

php - Permission denied. Laravel linux server -

google bigquery - Delta between query execution time and Java query call to finish -

python - Pandas two dataframes multiplication? -