I'd like to create a database to store information about events with the following details for each record:
Event, Player 1 name, Player 2 name, Final score
Round 1:
Date, location, Important detail 1, Important detail 2
Round 2:
Date, location, Important detail 1, Important detail 2
Could someone tell me how this would translate to a mySQL database please? I mean by that a suitable database name, whether I need one or multiple tables, what fields I need to create.
I might be over-complicating things in my mind, but I'm wondering if there are "layers" in a database or whether I would just have individual fields such as round1 date
, round1 location
, ...., round2 date
etc, as opposed to something like event1 rounds
with sub tables for each round.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…