For qglobal you put the name of the qglobal you'd want to set for them to be able to scribe that spell. The value is the value of the qglobal necessary to scribe the spell. For example, you want qglobal UberSpells to have a value of 1 and block spell 1944. This is how you would do it:
Code:
INSERT INTO `spell_globals` ('1944', 'Summon Orb', 'UberSpells', '1');