Invalid query:
Error Number: 1064
Error Message: 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 position LIMIT 0, 1' at line 5
Whole query: SELECT * FROM tbl_award_content WHERE active=1 AND TRIM(TRAILING "/" FROM CONCAT_WS("/", sectionname, path)) = "how-to-create-an-award-winning-entry--workshop" AND awardid = ORDER BY position LIMIT 0, 1