Hi all.
Kindly assist me by showing me the right way to achieve the following.
1. I have the following SQL statement which works fine
SELECT x,y,z FROM t1 WHERE x LIKE CONCAT('%',y,'%') UNION ALL SELECT a,b,c FROM t2 WHERE a =c)
Now what I want is to achieve a WHERE statement for the united...