| List: | General Discussion | « Previous MessageNext Message » | |
| From: | Jasper Bryant-Greene | Date: | September 21 2005 6:21am |
| Subject: | Re: Partial string matching between columns, tables | ||
| View as plain text | |||
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) -- Jasper Bryant-Greene Freelance web developer http://jasper.bryant-greene.name/
| 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 |
