Move sql to a separate sql file.