- printf "INSERT INTO scores (tournament, round, parallel, player, song, chosen, score) VALUES (\n";
- print " (SELECT tournament FROM tournaments WHERE name='$name'),\n";
+ printf "INSERT INTO scores (tournament, round, parallel, player, songnumber, song, chosen, score) VALUES (\n";
+ print " (SELECT tournament FROM tournaments WHERE tournamentname='$name'),\n";