I want to know how to find the longest match string from a given string.
For instance lets say I have this string 1122334455 in table_a and have a table_b with a column containing those following values:
'11'
'112'
'1122'
'112233'
'1122335455'
The desire match of the string 1122334455 is 112233.
Is there any function or query that could be use the desire output?
