A Database Error Occurred

Error Number: 1064

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 'AND pvd.id_lang = 1' at line 6

SELECT pvd.*, pv.* FROM default_produto_versoes as pv INNER JOIN default_produto_versoes_descricao as pvd ON(pv.id = pvd.id_versao) WHERE pv.id_produto = AND pvd.id_lang = 1