add data tables for join queries, need to refactor tables so that it contains all atomic column values in rows