sql query tests for from statement