SELECT p.ID FROM objetos as p LEFT JOIN producto_tematica as pt ON pt.ID_Producto = p.ID AND pt.Tipo_Producto = 'Objeto' WHERE Archivado!=1 AND p.Visible='1' AND (Vencimiento='0000-00-00' OR Vencimiento >= '2020-10-31') AND pt.ID_Tematica = 10010 GROUP BY p.ID

Error: Table 'bonnet_db.objetos' doesn't exist