Merge SQL files