I am trying to query a DB by town name
I want it to redirect to a certain page if there is more than one town with that name
e.g.
Birmingham, England
Birmingham, USA
but I'm unsure what SQL to use.
I can't use SELECT DISTINCT as they are both the same town name it will just return 1
I want it to redirect to a certain page if there is more than one town with that name
e.g.
Birmingham, England
Birmingham, USA
but I'm unsure what SQL to use.
I can't use SELECT DISTINCT as they are both the same town name it will just return 1