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.

12 Antworten

null
    • Fred
    • gestern
    • 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
      • gestern
      • 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
    • gestern
    • 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 23 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 23 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 23 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 19 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 19 Stunden
      • Gemeldet - anzeigen

       i think 8 teams but i am not sure

    • Fred
    • vor 22 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 19 Stunden
      • Gemeldet - anzeigen

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

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

       If I see it right now, I first have to add my participants and members to the group and then create the games via event and work from there? My dashbirad is no longer right? So do I have to make everything new there?

      • Fred
      • vor 18 Minuten
      • Gemeldet - anzeigen

       From what I've seen of the dashboard, the Teilnehmer and Gruppen part of the dashboard only searches for similar names. If you want to make the sections add records then Teilnehmer doesn't need to change, but for Gruppen you will need to be aware of the child table Mitglied.

      You will have to rework the Spiele section to incorporate the Ereignis. 

Content aside

  • vor 18 MinutenZuletzt aktiv
  • 12Antworten
  • 35Ansichten
  • 2 Folge bereits