film serie.sql
À propos du fichier
- Type de fichier
- Fichier SQL de 5 Ko (text/plain)
- Confidentialité
- Fichier public, envoyé le 17 février 2016 à 16:36, depuis l'adresse IP 90.4.x.x (France)
- Sécurité
- Ne contient aucun Virus ou Malware connus - Dernière vérification: 2 jours
- Statistiques
- La présente page de téléchargement a été vue 2343 fois depuis l'envoi du fichier
- Page de téléchargement
-
Aperçu du fichier
-- phpMyAdmin SQL Dump
-- version 4.1.14
-- http://www.phpmyadmin.net
--
-- Client : 127.0.0.1
-- Généré le : Mer 17 Février 2016 à 16:35
-- Version du serveur : 5.6.17
-- Version de PHP : 5.5.12
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
--
-- Base de données : `film_serie`
--
-- --------------------------------------------------------
--
-- Structure de la table `episodes`
--
CREATE TABLE IF NOT EXISTS `episodes` (
`id_episode` int(11) NOT NULL AUTO_INCREMENT,
`id_saison` int(11) NOT NULL,
`numeroEpisode` int(11) NOT NULL,
`dateDiffusion` int(11) NOT NULL,
`nomEpisode` varchar(255) NOT NULL,
`nomOriginalEpisode` varchar(255) NOT NULL,
PRIMARY KEY (`id_episode`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Structure de la table `films`
--
CREATE TABLE IF NOT EXISTS `films` (
`id_film` int(11) NOT NULL AUTO_INCREMENT,
`code` int(11) NOT NULL,
`nom` varchar(255) NOT NULL,
`nomOriginal` varchar(255) NOT NULL,
`nationalite` varchar(255) NOT NULL,
`longueur` varchar(255) NOT NULL,
`dateSortie` varchar(255) NOT NULL,
`annee` int(11) NOT NULL,
`synopsis` text NOT NULL,
`pochette` int(255) NOT NULL,
PRIMARY KEY (`id_film`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Structure de la table `film_genres`
--
CREATE TABLE IF NOT EXISTS `film_genres` (
`id_film` int(11) NOT NULL,
`id_genre` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Structure de la table `film_personnes`
--
CREATE TABLE IF NOT EXISTS `film_personnes` (
`id_film` int(11) NOT NULL,
`id_personne` int(11) NOT NULL,
`id_fonction` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Structure de la table `fonctions`
--
CREATE TABLE IF NOT EXISTS `fonctions` (
`id_fonction` int(11) NOT NULL,
`nom_fonction` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Structure de la table `genres`
--
CREATE TABLE IF NOT EXISTS `genres` (
`id_genre` int(11) NOT NULL AUTO_INCREMENT,
`nom_genre` int(11) NOT NULL,
PRIMARY KEY (`id_genre`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Structure de la table `personnes`
--
CREATE TABLE IF NOT EXISTS `personnes` (
`id_personne` int(11) NOT NULL AUTO_INCREMENT,
`nom` varchar(255) NOT NULL,
`id_fonctions` int(11) NOT NULL,
PRIMARY KEY (`id_personne`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Structure de la table `saisons`
--
CREATE TABLE IF NOT EXISTS `saisons` (
`id_saison` int(11) NOT NULL,
`id_serie` int(11) NOT NULL,
`nom_saison` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Structure de la table `series`
--
CREATE TABLE IF NOT EXISTS `series` (
`id_serie` int(11) NOT NULL AUTO_INCREMENT,
`nom_serie` varchar(255) NOT NULL,
`nomOriginal` varchar(255) NOT NULL,
`nationalite` varchar(255) NOT NULL,
`nombreSaisons` int(11) NOT NULL,
`nombreEpisodes` int(11) NOT NULL,
`dateSortie` varchar(255) NOT NULL,
`anne` int(11) NOT NULL,
`synopsis` text NOT NULL,
`pochette` varchar(255) NOT NULL,
PRIMARY KEY (`id_serie`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Structure de la table `serie_genres`
--
CREATE TABLE IF NOT EXISTS `serie_genres` (
`id_serie` int(11) NOT NULL,
`id_genre` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Structure de la table `serie_personnes`
--
CREATE TABLE IF NOT EXISTS `serie_personnes` (
`id_episode` int(11) NOT NULL,
`id_personne` int(11) NOT NULL,
`id_fonction` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
Partager le fichier film_serie.sql sur le Web et les réseaux sociaux:
Télécharger le fichier film_serie.sql
Télécharger film_serie.sql