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 '%filtru+de+apa%' OR t1.nume LIKE '%filtru+de+apa%' OR t1.cod LIKE '%filtru+de+apa%' OR t1.cod LIKE '%filtru+de+apa%') AND t1.vizibil=1 AND t3.pret_ales=1 AND t1.categorie_id IN (148produse=stoc, 445)Unknown column '148produse' in 'where clause'