How do eight people rank in the top eight in table tennis?

A game of eight people can be played in a big circle, that is, everyone plays with each other, and the winner scores more points, while the loser scores less or no points. Finally, the points are counted and sorted according to the level of points.

Or they can be divided into two groups with four people in each group. In the group, 1-4 was decided by the round robin, the top two entered the second stage to compete with the top two of another group for 1-4, and the last two competed with the last two of another group for 5-8, so the ranking was decided.