Merging SQL files