
我砌緊一個system, 有user, 可以買唔同product
咁我就有兩個table啦, user同product
user: id, name, productList
product: id, name, price, qty
問題係,定係我應該整多一個order table::
user: id, name, orderList
order: id, user_id(FK), product_id(FK)
product: id, name, price, qty
因為我個frontend想一次過show晒指定user買咗咩嘢

定係有其他慣例? 設計嘅時候應該考慮咩?
