I think you are missing an extra object. You need to add a company that expresses customer interest in the car. You will need to find the correct name to match your business domain, but here's my guess:
You have a CUSTOMER table to store information about a specific client. CUSTOMER has one to many relationship with the CUSTOMERINTEREST table. CUSTOMERINTEREST stores information about the types of trading operations the client is involved in (test drives, window purchases, etc.). CUSTOMERINTEREST has much to do with the CAR table. CAR stores information about specific cars in the storeβs inventory.
So, I think that if in the middle of your relationship you need more columns than just two foreign keys, then you really don't have many relationships. You have two different relationships, and you have not yet defined the thing in the middle.
Mark ewer
source share