I am desining a database and got stuck with this issue:
My case is to design an ERD to keep track of the cars and their movements from location to location.
The users utilize a form which contains three fields: The first one is used to enter the car#. The second field is used to enter the location the car came from (From_Location) and the third field is to enter the location the car is going to (To_Location).
For instance, Car#1 is moving from location#A to location#B. Another example, car#2 is moving from location#B to Location#A.
How can I create the location table and connect it to the car table so that it covers From and To ?
The relationship should be many to many.
I hope the problem is clear enough.