Hi, I am trying to perform a LEFT JOIN inside InlineQuerier.
I have two files with similarly named tables, (except for a _).
Inside my TABLE A, in the "CITYCODE" column, I have some values, for example:
"LATAM - RX12345 - SIE0950331501 - Monclova - CITY SERVICE"
On the other hand, in my TABLE B, in the column of "_CITYCODE" with the value "Monclova".
Just like this case, there are thousands more in my tables with the same structure, what I want is to be able to do a LEFT JOIN that partially matches a complete text string containing the values of my column "_CITYCODE".
I have tried to do a LEFT JOIN like this:
---------------------------------------------------
select * from "TABLE A"
LEFT JOIN "TABLE B"
on "CITYCODE" like '%'+"_CITYCODE "+'%'
--------------------------------------------------
But I don't get the '%' as a wildcard for a partial match.
Could someone help me with this?