Is something like this possible:
SELECT DISTINCT COUNT(productId) WHERE keyword=\'$keyword\'
What I want is to get the number of unique pro
What the hell of all this work anthers
it's too simple
if you want a list of how much productId in each keyword here it's the code
SELECT count(productId), keyword FROM `Table_name` GROUP BY keyword;