issue #23165: use sql1 and sql2