JR1035 sql used for test