Is something like this possible:
SELECT DISTINCT COUNT(productId) WHERE keyword=\'$keyword\'
What I want is to get the number of unique pro
FYI, this is probably faster,
SELECT count(1) FROM (SELECT distinct productId WHERE keyword = '$keyword') temp
than this,
SELECT COUNT(DISTINCT productId) WHERE keyword='$keyword'