Teleportation Circle

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)=3543)) 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
NameTeleportation Circle
SchoolConjuration (Teleportation)
LevelArc 9, Rune 9, Shu 9, Sor/Wiz 9, Wuj 9
ComponentsV, M
Casting Time10 minutes
Recharge TimeGeneral
Range0 ft.
Effect5-ft.-radius circle that teleports those who activate it
Duration10 min./level (D)
Saving ThrowNone
Spell ResistanceYes
Groups