2
'Cause when I was gonna remake the relationships in my table 1:1 1:1 -------- 1.1____ (With the dash in the middle but the straight line)
What’s the difference between us?
2
'Cause when I was gonna remake the relationships in my table 1:1 1:1 -------- 1.1____ (With the dash in the middle but the straight line)
What’s the difference between us?
9
The difference in dashes has to do with the use of primary keys from one table to another.
In case you use ---
you will retrieve the primary key from the table with which you are making the relation, and it will remain the secondary key. In the case of ___
, imports primary key from one table to the other, but now staying as primary key and not as secondary.
I think the following picture illustrates well what I mean:
Browser other questions tagged mysql mysql-workbench
You are not signed in. Login or sign up in order to post.