Is there a simple way to count the number of different occurances of a string in a cell when theya re unknown?
i.e: Say i ahve a table which records people's names. I don't know everyname in the world so want MySQL to count how many different entries there are. eg:
in table there is this variety of names:
Pablo
Andrew
Rachael
Lucy
Graeme
Lucy
Paul
Paul
Andrew
How can I get MySQL/PHP to tell me that this table contains 6 different names and not 9 rows?
Clear, or not really?