I don't have MySQL on the computer I am on to test this but you might try 
rewriting it this way:

select count(distinct(ip)) from pole_voit


----Original Message Follows----
From: Ilic <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: count(distinct
Date: Tue, 8 Jan 2002 18:47:43 +0100

SELECT count(distinct ip) FROM pole_voti

It does'nt work. Why ?

PhpMyAdmin says: You have an error in your SQL syntax near 'distinct ip)
FROM pole_voti' at line 1

Why ?

Where is the error ?

Ilic.



---------------------------------------------------------------------
Before posting, please check:
    http://www.mysql.com/manual.php   (the manual)
    http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail 
<[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php


_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to