Fix the format of sql code