Fixed some formatting in all the SQL files.
The rest of the fixes of formatting in all the SQL files.