Hi,
Hans hat Dir ja schon geantwortet. Daher:
SELECT....COUNT(DISTINCT(
id
)) numvotes,......
Wie groß ist bei Dir die Wahrscheinlichkeit, dass ein IDentifier _nicht_ distinct ist? Wenn sich Deine Antwort von "0" unterscheidet, hast Du ein Problem.
Cheatah
--
X-Self-Code: sh:( fo:} ch:~ rl:° br:> n4:& ie:% mo:) va:) de:] zu:) fl:{ ss:) ls:~ js:|
X-Self-Code-Url: http://emmanuel.dammerer.at/selfcode.html
X-Will-Answer-Email: No
X-Please-Search-Archive-First: Absolutely Yes
X-Self-Code: sh:( fo:} ch:~ rl:° br:> n4:& ie:% mo:) va:) de:] zu:) fl:{ ss:) ls:~ js:|
X-Self-Code-Url: http://emmanuel.dammerer.at/selfcode.html
X-Will-Answer-Email: No
X-Please-Search-Archive-First: Absolutely Yes