A Database Error Occurred

Error Number: 1064

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 id rand()' at line 1

SELECT * FROM package where state != 'Siemreap' LIMIT 12 Order by id rand()

Filename: /home/u562778056/domains/traveltoexplore.com/public_html/models/package_model.php

Line Number: 23