what is the structure of both tables?