ok so let me see if I've got this right. You have a table with (for example) column Chapter, which could be like 1, 2, 3, and another column Topic which could be a, b, c?
We could display these in a Gallery with this layout?
Chapter 1, Topic A, Topic B, Topic C
Chapter 2, Topic A, Topic B, Topic C
Chapter 3, Topic A, Topic B, Topic C