For sql tests

for sql tests