In MySQL, the count function will return the number ofA. distinct valuesB. groupsC. valuesD. columns code example
Example: mysql unique select count
SELECT COUNT(DISTINCT productId) from table_name WHERE keyword='$keyword'
SELECT COUNT(DISTINCT productId) from table_name WHERE keyword='$keyword'