Informatii generale despre statiunea

Km partie:  

Error executing query:
SELECT DISTINCT fs.id as id, fs.name_ro as name_ro FROM statiuni_facilitati as sf LEFT JOIN statiuni as s ON s.id=sf.resort_id LEFT JOIN facilitati_statiuni as fs ON fs.id=sf.facility_id WHERE s.id= ORDER BY fs.rank, fs.id
Error message: 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 'ORDER BY fs.rank, fs.id' at line 8