Well, at least to me it is..
Why.. oh why am I getting 3 rows returned in my result set when I should only be getting 2?
the active column should be eliminating one row but instead includes it. If I delete either the city or zip constraint, it works fine by only giving me the active users.
I want to be able to search on 2 columns from one textbox. It is just cleaner that way. That is the reason for the "OR".
Can someone please tell me what I am doing wrong please?
Code:
WHERE
t1.active ='1' AND
t4.city = 'mesa' OR
t3.zip_Code = '85210'