SELECT name FROM accommodations WHERE id =
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 '' at line 1



SELECT id FROM accommodation_photos WHERE id_accommodation = ORDER BY rating DESC
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 'ORDER BY rating DESC' at line 1