Devi mettere la tabella in join con se stessa
SELECT a.id_product FROM attributi_prodotti a, attributi_prodotti b WHERE a.id_product = b.id_product and a.id_attribute = 2 and b.id_attribute = 3
Devi mettere la tabella in join con se stessa
SELECT a.id_product FROM attributi_prodotti a, attributi_prodotti b WHERE a.id_product = b.id_product and a.id_attribute = 2 and b.id_attribute = 3