playercreateinfo_spell_custom
This table holds information on what spells newly created characters should start with if the PlayerStart.AllSpells setting is enabled in worldserver.conf. A character in this table is defined by his/her race and class combination.
Please note you'll have to set PlayerStart.CustomSpells to 1 in config, if not, this table will not have any effect.
Structure
Description of the fields
racemask
One or more character's race. See ChrRaces.dbc.
classmask
One or more character's class. See ChrClasses.dbc
Spell
Spell id. See Spell.dbc
Note
Basically a comment of what your query does.