Save sql file.
correct sql.