The same way you would do this with SQL. The most obvious way is to make a join of both tables. You can also set two headers for the table - one for each table.