Skip to content
Advertisement

Query to schedule a match between each team

How to fetch Below Output Using SQL Query in Oracle

Scenario:

suppose that in a Table named Team contains 4 records, we need to schedule a match between each team vs opposite team:

Advertisement

Answer

Output:

You may use a different combinations within the CASE block

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