Comprehend Languages

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)=3081)) 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
NameComprehend Languages
SchoolDivination
LevelAdp 1, APeace 1, Arc 1, Beguiler 1, Brd 1, Clr 1, Commerce 1, EmBarachiel 1, Herald 1, Meditation 1, Mind 1, Sor/Wiz 1, Wuj 1
ComponentsV, S, M/DF
Casting Time1 standard action
Recharge Time4 hours
RangePersonal
TargetYou
Duration10 min./level
Groups