Hi I would like to join table by substring in string and return not join as new row. Is that possible? Here's an example
| ID | price |
|---|---|
| 07a | 50 |
| 1b7 | 60 |
| 7TC | 40 |
| productCode | details |
|---|---|
| newhair_07a | detailA |
| black_1b7_chair | detailB |
| blueBed | detailC |
into a table where it matches the ID from table ID with the product table's productCode. If substring is in string then join the tables together and return no match into a new row.
Output will be like so
| ID | productCode | details | price |
|---|---|---|---|
| 07a | newhair_07a | detailA | 50 |
| 1b7 | black_1b7_chair | detailB | 60 |
| blueBed | detailC | ||
| 7TC | 40 |
I don't know where to begin to join this. Please do help

