SELECT * FROM SKU_GRP_OPTIONS WHERE SKU_GRP_ID = real-estate: 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 'real-estate' at line 1