Things you will need:
HeidiSQL - any SQL program would probably work but this one is the most simple to use.
Go to Spell Learn Spell Database in the SQL.
The way this works is these spells learned under entry, will auto trigger you to learn the additional spells under spell ID. This was made for professions and other random things, but this is a really great way to add new spells to your class.
The way I did it is I tied the spells I wanted to learn under the Plate Mail spell, which is spell ID 750, you can do it with any spell, just check the trainer to see what spell you know people will learn, you can also make the cost free just to make it easier by going to the trainer spells database.
Entry = the spell ID that you have learned that will trigger the auto spell learns
Spell ID = The spells you are wanting to add to whatever class you are trying to create or alter
Active = if it shows in your spell book, 1 for yes, 0 for no.