Skip to content
Advertisement

Showing results of one column into two columns

Select Participants from table will result in

I want a query where the results shows

A good sample for this question is the query used in generating single-elimination tournament pairings.

Advertisement

Answer

You can use window functios.Just LEAD+ROW_NUMBER to get opponent and then get player with odd numbers

User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement