KamranFeroz
Programmer
Hi,
I'm trying to count no. of records using soundex() function in query,
Query:
"SELECT COUNT(*) AS Expr1, a.Country AS Expr2
FROM tblSurvey a INNER JOIN
tblSurvey b ON SOUNDEX(a.Country) = SOUNDEX(b.Country)
GROUP BY a.Country
ORDER BY a.Country"
I'm not getting the right no. of records with the above query. e.g. I've 1 rec. of "Baharain" and 28 recs. of "Bahrain", but query shows Baharain=29 and Bahrain=812. same is the case with the other records.
Any suggestion ?
Cheers!
Web Programmer.
I'm trying to count no. of records using soundex() function in query,
Query:
"SELECT COUNT(*) AS Expr1, a.Country AS Expr2
FROM tblSurvey a INNER JOIN
tblSurvey b ON SOUNDEX(a.Country) = SOUNDEX(b.Country)
GROUP BY a.Country
ORDER BY a.Country"
I'm not getting the right no. of records with the above query. e.g. I've 1 rec. of "Baharain" and 28 recs. of "Bahrain", but query shows Baharain=29 and Bahrain=812. same is the case with the other records.
Any suggestion ?
Cheers!
Web Programmer.