Creating testsql SQLQuery