An Error Was Encountered
Error Number: 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 RAND()' at line 5
SELECT hotel_hotel.hotel_hotel_id FROM (`hotel_hotel`) WHERE `estrellas` IS NULL AND hotel_hotel.hotel_hotel_id != ORDER BY RAND()