I need something like:
select * from table1 where name like %table2.name
views:
75answers:
2
+1
A:
select <col list>
from table1 t1 inner join table2 t2
on t1.name like concat('%', t2.name, '%')
davek
2010-01-21 09:57:00
doesn't work in mmsql server
simone
2010-01-21 10:12:08
you tagged your question as mysql, and I tried it on mysql successfully before posting. What error do you get?
davek
2010-01-21 10:25:36