MySQL Forums
Forum List  »  Newbie

Re: MySQL Structure - Order Portal
Posted by: Peter Brawley
Date: July 14, 2016 11:23AM

> one customer maybe able to order 500 products and another one maybe able to order a different 200 products.

Simple solution: a customer.max_orders_per_year column, against which you compare the customer's order count for the past year when she offers to add a order.

Options: ReplyQuote


Subject
Written By
Posted
Re: MySQL Structure - Order Portal
July 14, 2016 11:23AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.