Is something like this possible:
SELECT DISTINCT COUNT(productId) WHERE keyword='$keyword'
What I require right now is to get the number of unique product IDs connected with a keyword. The same product may be connected twice with a keyword, or more, however, I need only 1 time to be counted per product ID.