Can't do SELECT * FROM offres_decouverte INNER JOIN hotels ON offre_hotel_id = hotel_id LEFT JOIN offres_decouverte_photos ON offre_photo_offre_id = offre_id WHERE (offre_photo_ordre = 0 OR offre_photo_offre_id IS NULL) AND NOW() BETWEEN offre_date_debut_publication AND offre_date_fin_publication AND offre_hotel_id = GROUP BY offre_id LIMIT 1, Error :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 'GROUP BY offre_id LIMIT 1' at line 9Can't do SELECT hp.* FROM hotels h INNER JOIN hotel_proximite ON (h.hotel_id = hotel_proximite_parent_hotel_id) INNER JOIN hotels hp ON (hotel_proximite_hotel_id = hp.hotel_id ) WHERE h.hotel_id = AND hp.hotel_id <> GROUP BY hotel_id ORDER BY hotel_name_fr LIMIT 10, Error :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 hp.hotel_id <> GROUP BY hotel_id ORDER BY hotel_name_' at line 6
| |||||||||||||||||||||||||||||||||||||||||||||||