B
Billiam
I have a table with cities and regions. I would like to run a query which
will identify duplicate cities that have different region Numbers, in order
to verify a city has not been placed in two different regions.
What is the easiest way to do this?
I tried a select staement but it does not like my syntax.
SELECT City, RegionNumber
FROM T_A
WHERE T_A.City = T_A.City AND RegionNumber DOES NOT EQUAL RegionNumber
any help appreciated!!!!
Thanks,
Billiam
will identify duplicate cities that have different region Numbers, in order
to verify a city has not been placed in two different regions.
What is the easiest way to do this?
I tried a select staement but it does not like my syntax.
SELECT City, RegionNumber
FROM T_A
WHERE T_A.City = T_A.City AND RegionNumber DOES NOT EQUAL RegionNumber
any help appreciated!!!!
Thanks,
Billiam