SELECT h.ID, h.NombreHotel, h.CategoriaHotel, h.DescripcionHotel, h.ImagesHotel, h.MapaHotel, d.NombreDest FROM hoteles_es as h LEFT JOIN destinos_es as d ON d.ID = h.DestinoHotel LEFT JOIN salidas as s ON s.Hotel1 = h.ID OR s.Hotel2 = h.ID OR s.Hotel3 = h.ID WHERE s.ID =
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