Hi all.
Maybe someone could help me please.
My problem is the following:
There are two tables A and B.
Table A contains column ColA (varchar 20).
Table B contains column ColB (char 10).
I need to select the rows from table A where ColA contain values: a) which match with values in B.ColB; b) which match with 1st chars of values in B.ColB.
For example:
ColA ColB
======= =======
abc999 abc999 >>> select
gjk222 gik >>> not select
def def999 >>> select
z zyx111 >>> select
Is it possible to do such selection by single sql?
Thank you in advance.
nion