sorry if this question has been asked heaps before, but I didn't know how to word it in a way that google would be able to understand.
Basically if for example you have 3 tables:
Table A
Table B1
Table B2
and the data from all 3 tables are connected in 1 of 2 ways either:
Table A & Table B1
OR
Table A & Table B2
Which would be best practice to connect them in a table and why?
1 table such as:
Joined table
|Table A |Table B1 |Table B2 |
|tableA_ID|tableB1_ID|null |
|tableA_ID|null |tableB2_ID|
or have 2 seperate tables for each join
Table A and B1 joined
Table A and B2 joined
Or is there another better way?