0

Wettkampf Datenbank

Hallo liebe Forumsmitglieder, ich bräuchte Hilfe beim Aufbau einer Datenbank die Wettkämpfe im k.o. System bereitstellt.

Ich habe folgende Tabellen:

1. Teilnehmer

2. Gruppen

3. Spiele

Ziel ist es die Teilnehmer Gruppen zuzuordnen dies funktioniert.

Jetzt hänge ich daran das ich die Spiele soweit auswähle und daraus die Sieger habe und diese sollen dann im nächsten Step gegeneinander spielen bis ein Gruppen Sieger feststeht.

Aber bei der Auswahl kommt immer wieder alle Gruppen zum Vorschein.

Ich habe mal eine Dummy Datenbank angehängt vielleicht hat ja jemand ein Idee wie es weiter verändern muss.

Dank schonmal für euere Unterstützung.

10 Antworten

null
    • Fred
    • vor 23 Stunden
    • Gemeldet - anzeigen
     said:
    Jetzt hänge ich daran das ich die Spiele soweit auswähle und daraus die Sieger habe und diese sollen dann im nächsten Step gegeneinander spielen bis ein Gruppen Sieger feststeht.

    So each group does not play every other group once? I see you have 8 groups. Do you only play four rounds (with some way of determining which group plays whom), then the winners of the rounds start to play each other?

      • Heinrich Frey Maschinenbau GmbH
      • Christian_Rott
      • vor 22 Stunden
      • Gemeldet - anzeigen

      it should be later that there is a winner in the game pairing who comes on to the next round and if there are 8 groups remain 4 over from the 4 will then again the winners play against each other. 

      therefore I only want to select the winners for the next round at the groups selection

    • Fred
    • vor 10 Stunden
    • Gemeldet - anzeigen
     said:
    therefore I only want to select the winners for the next round at the groups selection

     In the Spiele table, how do you determine which round is being played? With 8 teams you need to track 3 rounds (8 to 4 to 2)

      • Heinrich Frey Maschinenbau GmbH
      • Christian_Rott
      • vor 9 Stunden
      • Gemeldet - anzeigen

       Yes, I'm not coming any further and I don't know how to solve this.

      look at the picture so I would like to have it

    • Fred
    • vor 9 Stunden
    • Gemeldet - anzeigen

    Next question: I'm not sure what you call the 3 rounds, but I'll call it an event for now. I'm sure you want to track many events. Is that true? 

      • Fred
      • vor 9 Stunden
      • Gemeldet - anzeigen

      does an event happen in one day or over multiple days?

      will all groups show up at each event?

      will there always be 8 teams? what is the min/max number of teams at each event?

      • Heinrich Frey Maschinenbau GmbH
      • Christian_Rott
      • vor 5 Stunden
      • Gemeldet - anzeigen

        Not sure we're going to be doing this for the first time. it's about KUBB or Viking chess

      • Heinrich Frey Maschinenbau GmbH
      • Christian_Rott
      • vor 5 Stunden
      • Gemeldet - anzeigen

       i think 8 teams but i am not sure

    • Fred
    • vor 8 Stunden
    • Gemeldet - anzeigen

    Well here is a version 1 of what is could look like.

    There are a few changes.

    1) a new table called Ereignis. I hope that is the correct translation. :) It is now the parent table to Spiele. Spiele has a new child table called GruppenInfo. I have removed the GruppeA and GruppeB fields from Spiele because it is not best practice to create fields that contain the same type of data. It is better to create a child table. Plus you needed a many to many (M:M) table so you can assign many groups to many spiele.

    2) Gruppe has a new child table called Mitglied. Again now you can assign many participants to many groups.

    So now you create a record in Ereignis and then add records to Spiele. When you select a round, it will show the correct number of groups. You will select the groups in Teilnehmer Auswählen then click on the Gruppen hinzufügen button.

    If that is what you want then we can move the process to your dashboard.

      • Heinrich Frey Maschinenbau GmbH
      • Christian_Rott
      • vor 5 Stunden
      • Gemeldet - anzeigen

       Thank you very much that looks very good. I'll take a closer look at it tomorrow morning.👍

Content aside

  • vor 5 StundenZuletzt aktiv
  • 10Antworten
  • 31Ansichten
  • 2 Folge bereits