SELECT count( distinct(t1.id) ) AS total_produse_cautare FROM produse t1 INNER JOIN produse_pret t3 ON t1.id=t3.produs_id WHERE t1.vizibil=1 AND (t1.nume LIKE '%makita%' OR t1.nume LIKE '%makita%' OR t1.cod LIKE '%makita%' OR t1.cod LIKE '%makita%') AND t1.vizibil=1 AND t3.pret_ales=1 AND t1.categorie_id IN (11produse=promotii, 202, 203, 204, 205, 252, 206, 224, 237, 239, 245, 475, 246, 248, 251, 247, 249, 250, 253, 486, 505, 506, 526)Unknown column '11produse' in 'where clause'