Lesser Planar Binding

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)=3376)) 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
NameLesser Planar Binding
SchoolConjuration (Calling)
LevelDem 3, Demonic 5, Diabolic 5, Hth 5, Rune 5, Sor/Wiz 5
ComponentsV, S
Casting Time10 minutes
Recharge Time24 hours
RangeClose (25 ft. + 5 ft./2 levels); see text
Targetone elemental or outsider with 6HD or less
DurationInstantaneous
Saving ThrowWill negates
Spell ResistanceNo and Yes; see text
Groups