I am doing a facilities reservation database. Situation as below:
Every member has a membership which is authorized some facilities. Therefore, if a member reserve a facilities which is not authorized to his membership, it need to be charged and store into the reservation record table as an attribute reservation_fees.
How can i do the constraint? or check?