djdante97
04-15-2003, 01:44 AM
Hi there,
I'm wondering if there's a way to concatenate attributes and compare them with another attribute in the same table?
Basically, i have a table with a house number, street number, city, etc. , and also a field 'registrantAddress' that contains the whole address. I want to select those records where the (house number) concat (stree number) concat (...) etc. is not the same as the registrant address.
Is this possible in MySQL? or SQL in general?
I'm wondering if there's a way to concatenate attributes and compare them with another attribute in the same table?
Basically, i have a table with a house number, street number, city, etc. , and also a field 'registrantAddress' that contains the whole address. I want to select those records where the (house number) concat (stree number) concat (...) etc. is not the same as the registrant address.
Is this possible in MySQL? or SQL in general?