How can i create a fixture list for a league of 20 teams?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a league of 20 different team and i would like to know haw i can
create a fixture list so that every team plays each other twice.

THANKS
 
You can probably do it with a Cartesian product similar to this:

SELECT T.TEAM_ID, T.TEAM_NAME AS HOME, T1.TEAM_NAME AS AWAY
FROM TEAMS AS T, TEAMS AS T1
WHERE (([T].[team_name]<>[T1].[team_name]));
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top