Thank you I couldnt find this post anywhere and I found it now.
Lets say you have these two tables:
Code:
Age Table
id age person_id
-------------------------------
0 36 0
1 33 2
2 22 3
7 33 1
8 22 3
Persons Table (uses the Foreign Key from person_id)
id name
-------------------------------
0 mark
1 harry
2 jim
3 fred
4 jeff
If you do:
It would list the ID's from the AGE table since that's where we are selecting it from?
In other words, the two tables line up based on a match and creates one row, but what are these new rows ID's based on?
Bookmarks