modify the sql sentence.