Another MySQL question I have (wish my SQL knowledge was better).
I want to compare a column in one table to two columns put together in another table. For simplicity sake: Table A has columns X and Y, Table B has column Z. The values in X and Y put together are the values in Z.
Example:
Table A Table B
X Y stuff Z stuff
----------------- -----------
10 67 abc 1067 xyc
My WHERE clause needs to be Where (A.X and A.Y concatenated) = B.Z
Any suggestions?