SELECT d.ID, d.NombreDest, d.DescripcionDest, d.DescripcionDestPT FROM destinos_es as d LEFT JOIN producto_destino as pd ON pd.ID_Destino = d.ID AND pd.Tipo_Producto = 'Paquete' WHERE pd.ID_Producto=

Error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1