CREATE TABLE Countries ( 
    id INT PRIMARY KEY, 
    name VARCHAR(30)
);

CREATE TABLE Votes (
    id INT PRIMARY KEY AUTO_INCREMENT,
    competitor_id INT REFERENCES Countries(id),
    voter_id INT REFERENCES Countries(id),
    points INT NOT NULL,
    UNIQUE (competitor_id, voter_id)
)

INSERT INTO Countries VALUES (1, "France");
INSERT INTO Countries VALUES (2, "Pays-Bas");
INSERT INTO Countries VALUES (3, "Albanie");
INSERT INTO Countries VALUES (4, "Italie");
INSERT INTO Countries VALUES (5, "Russie");
INSERT INTO Votes VALUES (2, 4, 5);
INSERT INTO Votes VALUES (2, 5, 5);
INSERT INTO Votes VALUES (4, 2, 16);
INSERT INTO Votes VALUES (5, 2, 5);
INSERT INTO Votes VALUES (5, 4, 8);