title: MYSQL IF NOT LIKE A THEN LIKE B
body: <p>i want to make a sql query l
  but how do I perform an IF...THEN in an SQL SELECT statement like: "
  select name from table1,table2 where if( name like a then name like a ) else name like b" </p>