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 CROSS COUNTRY COACH%' AND FTR > 0 AND Campus = 'UM_ANN-ARBOR' GROUP BY 'WOME' at line 3