Mass Cure Critical Wounds

Make a spell card:

SELECT SPELL_GROUP.SPELL_ID, GROUPS.GROUP_ID, GROUPS.GROUPIE, GROUPS.DESCRIPTION FROM GROUPS INNER JOIN SPELL_GROUP ON GROUPS.GROUP_ID = SPELL_GROUP.GROUP_ID WHERE (((SPELL_GROUP.SPELL_ID)=3101)) ORDER BY GROUPIE;
LD(0101064
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 'GROUPS INNER JOIN SPELL_GROUP ON GROUPS.GROUP_ID = SPELL_GROUP.GROUP_ID WHERE ((' at line 1
NameMass Cure Critical Wounds
SchoolConjuration (Healing) [Positive]
LevelAPeace 8, Arc 8, Clr 8, Drd 9, Healing 8, Hlr 7
ComponentsV, S
Casting Time1 standard action
Recharge TimeGeneral
RangeClose (25 ft. + 5 ft./2 levels)
TargetOne creature/level, no two of which can be more than 30 ft. apart
DurationInstantaneous
Saving ThrowWill half (harmless) or Will half; see text
Spell ResistanceYes (harmless) or Yes; see text
Groups