Simple, short, sweet tutorial on how to combine sql queries.
Open command propmt.
Browse to location of all queries you wish to combine.
-To change locations in command propmpt use the command
to go up, or
and continue to the folders destination through any sub-folders you have created.
Then execute the following command(s) based on your OS.
copy *.sql update.sql
Change the update.sql to the desired name of the sql file you wish it to be saved as.
cat *.sql > update.sql
Google for translating the commands for linux