Unable to lookup 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 's-hayloft'' at line 1. Query: select catname count from cats where catname = 'jamie-lee's-hayloft'