redo as round trip sql