change the sql.