create join activity table