Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- MySQL dump 10.13 Distrib 5.7.23, for Linux (x86_64)
- --
- -- Host: localhost Database: mickael_l_wcs_biarritz
- -- ------------------------------------------------------
- -- Server version 5.7.23-0ubuntu0.18.04.1
- /*!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 */;
- /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
- /*!40103 SET TIME_ZONE='+00:00' */;
- /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
- /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
- /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
- /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
- --
- -- Table structure for table `Participants`
- --
- DROP TABLE IF EXISTS `Participants`;
- /*!40101 SET @saved_cs_client = @@character_set_client */;
- /*!40101 SET character_set_client = utf8 */;
- CREATE TABLE `Participants` (
- `id` int(11) NOT NULL AUTO_INCREMENT,
- `Nom` varchar(50) DEFAULT NULL,
- `Prenom` varchar(50) DEFAULT NULL,
- `Adresse` varchar(80) DEFAULT NULL,
- `id_ville` int(11) DEFAULT NULL,
- `id_langage` int(11) DEFAULT NULL,
- PRIMARY KEY (`id`),
- KEY `id_ville` (`id_ville`),
- KEY `id_langage` (`id_langage`),
- CONSTRAINT `Participants_ibfk_1` FOREIGN KEY (`id_ville`) REFERENCES `villes` (`id`),
- CONSTRAINT `Participants_ibfk_2` FOREIGN KEY (`id_langage`) REFERENCES `langages` (`id`)
- ) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=latin1;
- /*!40101 SET character_set_client = @saved_cs_client */;
- --
- -- Dumping data for table `Participants`
- --
- LOCK TABLES `Participants` WRITE;
- /*!40000 ALTER TABLE `Participants` DISABLE KEYS */;
- INSERT INTO `Participants` VALUES (1,'','Google','Mountain View',1,1),(2,'Skywalker','Luke','Tatooine',1,2),(3,'Gates','Bill','Medina',2,3),(4,'','Thanos','Titan',1,1),(5,'Wayne','Bruce','Gotham',2,3),(6,'Lorie','Lorie','Lorie',2,1);
- /*!40000 ALTER TABLE `Participants` ENABLE KEYS */;
- UNLOCK TABLES;
- --
- -- Table structure for table `langages`
- --
- DROP TABLE IF EXISTS `langages`;
- /*!40101 SET @saved_cs_client = @@character_set_client */;
- /*!40101 SET character_set_client = utf8 */;
- CREATE TABLE `langages` (
- `id` int(11) NOT NULL,
- `Name` varchar(20) DEFAULT NULL,
- PRIMARY KEY (`id`)
- ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
- /*!40101 SET character_set_client = @saved_cs_client */;
- --
- -- Dumping data for table `langages`
- --
- LOCK TABLES `langages` WRITE;
- /*!40000 ALTER TABLE `langages` DISABLE KEYS */;
- INSERT INTO `langages` VALUES (1,'PHP'),(2,'Javascript'),(3,'Java');
- /*!40000 ALTER TABLE `langages` ENABLE KEYS */;
- UNLOCK TABLES;
- --
- -- Table structure for table `villes`
- --
- DROP TABLE IF EXISTS `villes`;
- /*!40101 SET @saved_cs_client = @@character_set_client */;
- /*!40101 SET character_set_client = utf8 */;
- CREATE TABLE `villes` (
- `id` int(11) NOT NULL,
- `Name` varchar(30) DEFAULT NULL,
- PRIMARY KEY (`id`)
- ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
- /*!40101 SET character_set_client = @saved_cs_client */;
- --
- -- Dumping data for table `villes`
- --
- LOCK TABLES `villes` WRITE;
- /*!40000 ALTER TABLE `villes` DISABLE KEYS */;
- INSERT INTO `villes` VALUES (1,'Biarritz'),(2,'Gotham');
- /*!40000 ALTER TABLE `villes` ENABLE KEYS */;
- UNLOCK TABLES;
- /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
- /*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
- /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
- /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
- /*!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 */;
- /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
- -- Dump completed on 2018-10-18 14:08:09
Add Comment
Please, Sign In to add comment