t692 merged sql from resolved