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 'DESC, CEIL(CAST((rate) AS DECIMAL(6,2))) ASC, hg_rating DESC' at line 22
Couldn't execute query: