diff --git a/script-creation-remplissage-BD-CodingPool.sql b/script-creation-remplissage-BD-CodingPool.sql deleted file mode 100644 index 7606d1d8bee2873905dedfa24f901f4b60c0afd7..0000000000000000000000000000000000000000 --- a/script-creation-remplissage-BD-CodingPool.sql +++ /dev/null @@ -1,538 +0,0 @@ ---------------------------------------------- --- LABELSTOWER DATABASE ---------------------------------------------- - ---------------------------------------------- --- CREATE TABLES ---------------------------------------------- - ---------------------------------------------- --- TABLE ELEMENT ---------------------------------------------- -CREATE TABLE ELEMENT ( - - id INT AUTO_INCREMENT, - element_name VARCHAR(100) NOT NULL UNIQUE, - - CONSTRAINT PK_ELEMENT PRIMARY KEY (id) - ); ---------------------------------------------- --- TABLE LABEL ---------------------------------------------- -CREATE TABLE LABEL ( - - id INT AUTO_INCREMENT, - label_name VARCHAR(100) NOT NULL UNIQUE, - father_id INT, - - CONSTRAINT PK_LABEL PRIMARY KEY (id), - CONSTRAINT FK_LABEL_LABEL - FOREIGN KEY (father_id) - REFERENCES LABEL (id) - ); ---------------------------------------------- ---ALIAS ---------------------------------------------- -CREATE TABLE ALIAS ( - - alias_name VARCHAR(100), - id_label INT NOT NULL, - - CONSTRAINT PK_ALIAS PRIMARY KEY (alias_name), - CONSTRAINT FK_ALIAS_LABEL - FOREIGN KEY (id_label) - REFERENCES LABEL (id) - ); - ---------------------------------------------- --- TABLE ELEMENT_LABEL ---------------------------------------------- -CREATE TABLE ELEMENT_LABEL ( - - id_element INT, - id_label INT, - - CONSTRAINT PK_ELEMENT_LABEL PRIMARY KEY (id_element, id_label), - CONSTRAINT FK_ELEMENT_LABEL_ELEMENT - FOREIGN KEY (id_element) - REFERENCES ELEMENT (id), - CONSTRAINT FK_ELEMENT_LABEL_LABEL - FOREIGN KEY (id_label) - REFERENCES LABEL (id) - ); ---------------------------------------------- --- INSERT DATA ---------------------------------------------- - ---------------------------------------------- --- ELEMENT ---------------------------------------------- -INSERT INTO ELEMENT - (id, element_name) -VALUES - (45,'Python 3, premier pas') -,(46,'Pandas') -,(47,'Mon premier programme MPI') -,(48,'TensorFlow') -,(49,'Python Panda DataFrames') -,(50,'Rudiments de Machine Learning') -,(51,'Root') -,(52,'Geant') -,(53,'Les caches') -,(54,'L''alignement des données') -,(55,'Profilage avec Perf') -,(56,'Rudiments de calcul flottant') -,(57,'Rudiments de vectorisation') -,(58,'Random123') -,(59,'QuantStack Xsimd') -,(60,'Mon premier programme OpenCL') -,(61,'Initiation à Kokkos') -,(62,'Le modèle Roofline') -,(63,'Mon premier programme OpenMP') -,(64,'HDF5') -,(65,'Spack') -,(66,'Module') -,(67,'CMake') -,(27,'Gitlab CI TP 1') -,(28,'Gitlab CI TP 2') -,(1,'Inférence de type (auto)') -,(2,'Références jetables (&&) et déplacement de données') -,(3,'Fonctions lambda') -,(4,'Dive into Go') -,(5,'Passer de Python 2 à Python 3') -,(6,'Piscine Ada') -,(7,'Plongeon MultiLangages') -,(8,'Petit aperçu de l''utilisation de Spark') -,(9,'Git 1 : Introduction') -,(10,'Git 2 : gestion de versions') -,(11,'Git 3 : gestion de branches') -,(12,'Git 4 : à plusieurs') -,(13,'Sphinx : un outil de génération de documentations') -,(14,'Plongeon LimeSurvey') -,(15,'Aperçu de la base de données MongoDB') -,(16,'Plongeon PyQt4') -,(17,'Docker 0 : installer sous Linux') -,(18,'Docker 0 : installer sous MacOSX') -,(19,'Docker 0 : installer sous Windows') -,(20,'Docker 0 : installer sur du vieux matériel Apple') -,(21,'Docker 0 : installer sur un vieux Windows') -,(22,'Docker 1 : run') -,(23,'Docker 2 : Build') -,(24,'Docker 3 : Network') -,(25,'Docker 3 : volume') -,(29,'Docker 4 : compose') -,(30,'Docker 6 : compose advanced') -,(31,'Kubernetes') -,(32,'Mon premier notebook') -,(68,'Functional programming & Scala') -,(69,'Singularity 1 : utilisation basique') -,(70,'Singularity 2 : utilisation d''openMPI') -,(71,'Singularity 3 : utilisation avancée') -,(33,'Introduction to Functional Programming in OCaml') -,(34,'Cryptography I') -,(35,'Cryptography II') -,(36,'Introduction to Cyber Security') -,(37,'Machine Learning') -,(38,'The Rust Programming Language') -,(39,'Pro Git (en)') -,(40,'Pro Git (fr)') -,(72,'Data Analysis and Visualization with R') -,(73,'Data Analysis and Visualization with Python'); ---------------------------------------------- --- LABEL ---------------------------------------------- -INSERT INTO LABEL - (id,label_name,father_id) -VALUES - (23,'Programmation',NULL) -,(24,'Languages',23) -,(25,'C++',24) -,(26,'Python',24) -,(27,'Data Science',23) -,(29,'Software Engineering',23) -,(30,'Git',55) -,(31,'Gitlab',29) -,(32,'Documentation',29) -,(33,'Notebooks',23) -,(34,'Jupyter',33) -,(35,'Database',23) -,(36,'Human-Machine Interfaces',23) -,(37,'Exploitation',NULL) -,(38,'Continuous Integration',37) -,(39,'Containers',37) -,(40,'Docker',39) -,(41,'Orchestration',37) -,(42,'Kubernetes',41) -,(43,'Office',NULL) -,(46,'Rust',24) -,(47,'OCaml',24) -,(48,'Functional',23) -,(49,'Scientific Computing',23) -,(51,'Machine learning',49) -,(52,'Parallelism',49) -,(53,'Security',NULL) -,(54,'Encryption',53) -,(55,'Versioning',29) -,(58,'Singularity',39) -,(60,'MPI',59) -,(59,'High Performance Computing',49) -,(45,'In2p3',NULL) -,(56,'English',NULL) -,(57,'French',NULL) -,(64,'Scala',24) -,(61,'Physics',NULL) -,(65,'R',24) -,(62,'Package Management',29) -,(63,'Build Process of Software',29); ---------------------------------------------- --- ALIAS ---------------------------------------------- -INSERT INTO ALIAS - (alias_name,id_label) -VALUES - ('Coding',2) -,('Languages',3) -,('Langage',3) -,('Language',3) -,('CPP',4) -,('C Plus Plus',4) -,('Big Data',7) -,('Données massives',7) -,('Software Engineering',8) -,('Notebook',12) -,('Databases',14) -,('Base de donnée',14) -,('Database',14) -,('Interface Homme-Machine',15) -,('GUI',15) -,('Graphic User Interfaces',15) -,('Graphic User Interface',15) -,('Administration',16) -,('ASR',16) -,('Administration Systèmes et Réseaux',16) -,('Administration Système et Réseau',16) -,('Continuous Integration',17) -,('Conteneur',18) -,('Containers',18) -,('Container',18) -,('Desktop Tools',22) -,('Desktop Tool',22) -,('Office',22) -,('Calcul',49); ---------------------------------------------- --- ELEMENT_LABEL ---------------------------------------------- -INSERT INTO ELEMENT_LABEL - (id_element,id_label) -VALUES - (1,23) -,(1,24) -,(1,25) -,(1,45) -,(1,57) -,(2,23) -,(2,24) -,(2,25) -,(2,45) -,(2,57) -,(3,23) -,(3,24) -,(3,25) -,(3,45) -,(3,57) -,(4,23) -,(4,45) -,(4,57) -,(5,23) -,(5,24) -,(5,26) -,(5,45) -,(5,57) -,(6,23) -,(6,45) -,(6,57) -,(7,23) -,(7,45) -,(7,57) -,(8,23) -,(8,27) -,(8,45) -,(8,57) -,(9,23) -,(9,29) -,(9,30) -,(9,45) -,(9,55) -,(9,57) -,(10,23) -,(10,29) -,(10,30) -,(10,45) -,(10,55) -,(10,57) -,(11,23) -,(11,29) -,(11,30) -,(11,45) -,(11,55) -,(11,57) -,(12,23) -,(12,29) -,(12,30) -,(12,45) -,(12,55) -,(12,57) -,(13,23) -,(13,29) -,(13,32) -,(13,45) -,(13,57) -,(14,43) -,(14,45) -,(14,57) -,(15,23) -,(15,35) -,(15,45) -,(15,57) -,(16,23) -,(16,36) -,(16,45) -,(16,57) -,(17,37) -,(17,39) -,(17,40) -,(17,45) -,(17,57) -,(18,37) -,(18,39) -,(18,40) -,(18,45) -,(18,57) -,(19,37) -,(19,39) -,(19,40) -,(19,45) -,(19,57) -,(20,37) -,(20,39) -,(20,40) -,(20,45) -,(20,57) -,(21,37) -,(21,39) -,(21,40) -,(21,45) -,(21,57) -,(22,37) -,(22,39) -,(22,40) -,(22,45) -,(22,57) -,(23,37) -,(23,39) -,(23,40) -,(23,45) -,(23,57) -,(24,37) -,(24,39) -,(24,40) -,(24,45) -,(24,57) -,(25,37) -,(25,39) -,(25,40) -,(25,45) -,(25,57) -,(27,23) -,(27,29) -,(27,31) -,(27,37) -,(27,38) -,(27,45) -,(27,57) -,(28,23) -,(28,29) -,(28,31) -,(28,37) -,(28,38) -,(28,45) -,(28,57) -,(29,37) -,(29,39) -,(29,40) -,(29,41) -,(29,45) -,(29,57) -,(30,37) -,(30,39) -,(30,40) -,(30,41) -,(30,45) -,(30,57) -,(31,37) -,(31,39) -,(31,41) -,(31,42) -,(31,45) -,(31,57) -,(32,23) -,(32,24) -,(32,26) -,(32,33) -,(32,34) -,(32,45) -,(32,57) -,(33,23) -,(33,24) -,(33,47) -,(33,48) -,(33,56) -,(34,23) -,(34,53) -,(34,54) -,(34,56) -,(35,23) -,(35,53) -,(35,54) -,(35,56) -,(36,43) -,(36,53) -,(36,56) -,(37,23) -,(37,49) -,(37,51) -,(37,56) -,(38,23) -,(38,24) -,(38,46) -,(38,49) -,(38,52) -,(38,56) -,(39,23) -,(39,29) -,(39,30) -,(39,55) -,(39,56) -,(40,23) -,(40,29) -,(40,30) -,(40,55) -,(40,57) -,(45,26) -,(45,24) -,(45,23) -,(45,57) -,(46,26) -,(46,24) -,(46,23) -,(47,59) -,(47,49) -,(47,23) -,(47,60) -,(48,27) -,(48,23) -,(48,51) -,(48,49) -,(48,57) -,(46,57) -,(47,57) -,(49,57) -,(49,26) -,(49,24) -,(49,23) -,(49,27) -,(50,51) -,(50,49) -,(50,23) -,(50,57) -,(51,57) -,(51,61) -,(51,25) -,(51,24) -,(51,23) -,(52,57) -,(52,61) -,(52,25) -,(52,24) -,(52,23) -,(53,57) -,(53,49) -,(53,23) -,(54,57) -,(54,49) -,(54,23) -,(55,57) -,(55,49) -,(55,23) -,(56,57) -,(56,49) -,(56,23) -,(57,57) -,(57,49) -,(57,23) -,(58,57) -,(58,49) -,(58,23) -,(59,57) -,(59,49) -,(59,23) -,(60,57) -,(60,49) -,(60,23) -,(61,57) -,(61,49) -,(61,23) -,(62,57) -,(62,49) -,(62,23) -,(63,57) -,(63,49) -,(63,23) -,(64,23) -,(64,57) -,(64,61) -,(65,62) -,(65,29) -,(65,23) -,(65,57) -,(66,57) -,(66,59) -,(66,49) -,(66,23) -,(66,62) -,(66,29) -,(67,63) -,(67,29) -,(67,23) -,(67,57) -,(68,48) -,(68,64) -,(68,57) -,(68,24) -,(68,23) -,(69,57) -,(69,58) -,(69,39) -,(69,37) -,(70,57) -,(70,58) -,(70,39) -,(70,37) -,(70,60) -,(70,59) -,(70,49) -,(70,23) -,(71,57) -,(71,58) -,(71,39) -,(71,37) -,(72,65) -,(72,24) -,(72,23) -,(72,56) -,(72,27) -,(73,56) -,(73,26) -,(73,24) -,(73,23) -,(73,27); \ No newline at end of file