I currently have two tables as seen in the pictures below.
The first table is called bottle
:
The second table is called cases
:
I am trying to insert into the bottles table where case_id = 0 the values seen in the cases table (ie case_id=100, 100, 103, 103 etc..). They are two separate tables and I am trying to join them without creating NULL
values.
Please let me know if I need to use insert, join, or update. I would manually do it however these data points are coming live from a PLC and there will be many more than just all the data points seen below.