Ok, here is my data.
Sault Ste. Marie, ON
Sault Ste. Marie, MI
Sault Ste. Marie, ON
Sault Ste. Marie, MI
I am trying to match and count the results. Current results are 4 for Sault Ste. Marie, ON with the following code.
SELECT *, COUNT(`city`) AS `countrink`
FROM markers
GROUP BY `city`
HAVING `countrink` >=2
ORDER BY `countrink` DESC
How can I match the 2 columns so the results read.
Sault Ste. Marie, ON 2
Sault Ste. Marie, MI 2
Thanks
This worked…