You can make a while controller for the third group of threads and do something like this:
TopicGroup 1 - Code to populate table 1 - Set UserDefined Variable "Group1_done == true" as the last step
TopicGroup 2 - Code to populate table 2 - Set the UserDefined variable "Group2_done == true" as the last step
TopicGroup 3 - WHILE CONTROLLER "Group1_done == true" && "Group2_done == true" - Code to populate table 3
source share