Hello folks,
I have a problem in counting the number of rows in a certain distinct column.
I tried like this as the MySQL manual reads,
SELECT COUNT(DISTINCT col_name) from table_name;
but it shows that the statement has a syntax error near 'DISTINCT col_name'
Is there anybody that has a solution for the error?
Thanks in advance,
Jaewoong