add JoinedTables
JoinedTableTest
unit test for SELECT statement