[hw6] finish joining tables