I have three tables:
Table Clients: -ID -Name -credit Table Agents: -ID -Name -Profit Table Sales: -ID -Price -Client_id