Purify Food and Drink

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)=3399)) 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
NamePurify Food and Drink
SchoolTransmutation
LevelAdp 0, APeace 0, Arc 0, Clr 0, Drd 0, Hlr 0, Shu 0
ComponentsV, S
Casting Time1 standard action
Recharge Time5 minutes
Range10 ft.
Target1 cu. ft./level of contaminated food and water
DurationInstantaneous
Saving ThrowWill negates (object)
Spell ResistanceYes (object)
Groups