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 GLEN%' OR property_res.C_DEVELO_105 LIKE 'WALKER'S GLEN%') AND property_res.' at line 6