return joined table data