How can we include a table inside a cell of another table in the CAF?

How can we include a table inside a cell of another table in the CAF? We have seen some examples using JSF directly in code, but what we want is to be able to use the designer of the CAF (its easier to visualize).
As an example, supose the data represents people groups and we want to display a table with the groups and for each group include a sub table that displays the people in the group. The number of people in the groups will be less than or equal to 5.
We will return from the database one row per person per group. So if we have 3 groups of 2 persons each, we will return 6 rows. How can be implement this using the CAF? Can this be implemented using a content provider?