You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SELECT *, '3' AS origin FROM produto WHERE id IN(2) AND status!=3 AND status!=2 ' at line 1