Completed joining/leaving tables.