title: Is there a name for this database type?
body: <p>I've tried searching for this, but I don't really know what i'm searching for.</p>
  
  <p>Basically, i want to store match data in a database, but when I get a new team, i need to add the team name to the row and the column. I also need to store more than just the score, I can use an array to seperate the data, but it'd be handy to have at least two fields at each point so that I could search home and away leg data.</p>
  
  <pre><code>    Dan | Bob | Joe | Tim
  Dan  X  | 3-1 | 0-1 | 2-1
  Bob 4-1 |  X  | 1-0 | 0-0
  Joe 1-2 | 3-3 |  X  | 2-1
  Tim 0-1 | 0-0 | 2-1 |  X
  </code></pre>
  
  <p>Is there a way to do this with MySQL so that I could add an unlimited amount of teams over time? Is there a name for this type of database format?</p>