Hi,
I am having trouble joining 4 tables. I have 3 tables that are databases for different types of products and the fourth table houses all of the order details (customer name, address, etc). All 4 tables are linked by the Order ID
My tables are generally formatted as follows.
Table 1
OrderID, Description
Table 2
OrderID, Description
Table 3
OrderID, Description
Table4
OrderID, Customer, Address
My goal is to have a Union that lists all lines from table 1-3, and for each line, append that line with the corresponding Order info from table 4 based on the matching OrderID. I understand that I need to union all for first 3 tables but I am not sure how to join the fourth in the manner that I want. My guess is that I need to do an inner join but I have not been able to figure it out yet.
Thanks