Illusory Script

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)=3267)) 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
NameIllusory Script
SchoolIllusion (Phantasm) [Mind-Affecting]
LevelAsn 2, Brd 3, Sor/Wiz 3, Wuj 3
ComponentsV, S, M
Casting Time1 minute or longer; see text
Recharge TimeGeneral
RangeTouch
TargetOne touched object weighing no more than 10 lb.
Duration1 day/level (D)
Saving ThrowWill negates; see text
Spell ResistanceYes
Groups