| List: | General Discussion | « Previous MessageNext Message » | |
| From: | Yvan Strahm | Date: | September 21 2005 6:56am |
| Subject: | Re: Partial string matching between columns, tables | ||
| View as plain text | |||
Thank you Jasper It works, with a little change but it works yvan Jasper Bryant-Greene wrote: > Yvan Strahm wrote: > >> I have a varchar column 's1' in table t1. And a varchar column 's2' >> in table t2. >> >> Do you know how one could do something like this: >> >> select * from t1,t2 where t1.s1 like %t2.s2 > > > SELECT * FROM t1, t2 WHERE t1.s1 LIKE CONCAT('%', t2.s2) > > (untested)
| Thread | ||
|---|---|---|
| • Partial string matching between columns, tables | Yvan Strahm | 21 Sep |
| • Re: Partial string matching between columns, tables | Jasper Bryant-Greene | 21 Sep |
| • Re: Partial string matching between columns, tables | Yvan Strahm | 21 Sep |
