mysql - Can you use sql like() functions for table joins? -


assume have 2 tables, each single string column (name). i'd left outer join t1 t2 t1.name %t2.name% or t2.name %t1.name%

is possible?

pretty goes in where clause can go in on clause, like:

select  *    t1 left join           t2 on      t1.name '%' + t2.name + '%'         or t2.name '%' + t1.name + '%' 

Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -