I have a table I'm using for logging purposes with a schema like:
create table results (
user varchar(255)
....
);
Where user is not a unique field and I want to find out how many unique
users there are in the table.
I want to do something like:
select count(count(*)) from results group by user;
But that doesn't work..
Any ideas?
Thanks
_______________ _______________ _______________ _______________ _____
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql?unsub=m...ie.nctu.edu.tw
create table results (
user varchar(255)
....
);
Where user is not a unique field and I want to find out how many unique
users there are in the table.
I want to do something like:
select count(count(*)) from results group by user;
But that doesn't work..
Any ideas?
Thanks
_______________ _______________ _______________ _______________ _____
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql?unsub=m...ie.nctu.edu.tw