Hi,
I have a database with roughly 73k rows (records). I am using a query string such as:
SELECT DISTINCT Column FROM databasename
I am then using mysql_num_rows($results) to count the number of distinct rows. This method works, but it is slow.
Is there a faster way of doing this perhaps internal to the mysql without having to send the entire results to the PHP when I only need a count?