I have 2 tables which are joined by a third.
- Property
- Agent
- Agent_Property (joins Agent with Property)
Agent_Property table has a column for commission_percentage. For each property in the Agent_Property table, the sum of commission_percentage for all agents need to equal to 100. The number of agents a property has is random.