Table 1
Order number |
---|
11111111 |
22222222 |
33333333 |
Table 2
Order number | Device |
---|---|
111111, 222222 | apple |
333333 | apple |
I am trying to use the order numbers in table 1 to match in table 2. If wanted a exact match I use the code below. I have using like but it still doesn't read the order number row in table 2 if there are multiple order numbers.
I need to be able to use table 1 order number to match any of the table 2 order numbers as long as there's a partial match.
SELECT [Table 1].[Order number], [Table 2].[Order number]
FROM [Table 1]
INNER JOIN [Table 2] ON [Table 1].[Order number] = [Table 2].[Order number]