Edit sql file