edited sql file with naming convention