Normally LIKE statement used to check the pattern like data.
ex:
select * from table1 where name like 'ar%'
My problem is to use one column of table with LIKE statement.
ex:
select * from table1, table2 where table1.x is like table2.y%
Query above creates error creates . how to use one column data in like query?