CREATE TABLE genre (idG INT,description VARCHAR(50) NOT NULL);
CREATE TABLE film (idF INT,titre VARCHAR(255) NOT NULL,annee INT NOT NULL,nbSpectateurs INT NOT NULL,idRealisateur INT,idGenre INT,PRIMARY KEY (idF)) ;
DROP TABLE film ;
CREATE TABLE jouer (idActeur INT REFERENCES acteur(idA),idFilm INT REFERENCES Film(idF),salaire INT NOT NULL,PRIMARY KEY (idActeur,idFilm)) ;

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: