Changed AbstractParsedStmt.tableList to be a list of StmtTableScan to handle both tables and sub-queries