I have 3 tables. Person, Group and PersonGroup. Each Person can be in multiple Groups. In the PersonGroup table there's a field called ShowCount, which says how many times a Person should be shown.
Example: Person Bill is in group StackOverflow and should be displayed 3 times so the output should be like this
Bill
Bill
Bill
is there a way to do this with SQL?