Fetch Rows Failure: 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 name ASC' at line 1

SQL: SELECT * FROM laramar_community WHERE active = 1 AND state = '' AND id <> ORDER BY name ASC