Précédent
- 1
- 2
Salut
2. Voici la structure de l'ancienne base de données avec quelques données ! !
-- phpMyAdmin SQL Dump
-- version 2.9.1.1
-- https://www.phpmyadmin.net/
--
-- Serveur: localhost
-- Généré le : Vendredi 11 Septembre 2009 à 15:49
-- Version du serveur: 5.0.27
-- Version de PHP: 5.2.0
--
-- Base de données: `base_nationale`
--
-- --------------------------------------------------------
--
-- Structure de la table `aide_ext_annee_cour`
--
CREATE TABLE `aide_ext_annee_cour` (
`Cod_degre` int(16) NOT NULL default '0',
`Cod_etab` int(32) NOT NULL default '0',
`Cod_an_scol` int(16) NOT NULL default '0',
`Cod_typ_financ` int(16) NOT NULL default '0',
`Cod_util` int(16) NOT NULL default '0',
`Montant_aide` decimal(30,0) default NULL,
KEY `Cod_degre` (`Cod_degre`,`Cod_etab`,`Cod_an_scol`,`Cod_util`),
KEY `Cod_etab` (`Cod_etab`,`Cod_an_scol`,`Cod_util`),
KEY `Cod_an_scol` (`Cod_an_scol`,`Cod_util`),
KEY `Cod_util` (`Cod_util`),
KEY `Cod_typ_financ` (`Cod_typ_financ`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COMMENT='les aides extérieures de l''année en cours';
--
-- Contenu de la table `aide_ext_annee_cour`
--
INSERT INTO `aide_ext_annee_cour` (`Cod_degre`, `Cod_etab`, `Cod_an_scol`, `Cod_typ_financ`, `Cod_util`, `Montant_aide`) VALUES
(1, 2, 2, 1, 3, 20000),
(1, 2, 2, 2, 4, 90000),
(1, 2, 2, 3, 1, 99999),
(1, 2, 2, 4, 2, 9999),
(1, 2, 2, 5, 8, 99999),
(2, 3, 2, 1, 3, 2000000),
(2, 3, 2, 2, 4, 3000),
(2, 3, 2, 3, 1, 4000),
(2, 3, 2, 4, 8, 1000);
-- --------------------------------------------------------
--
-- Structure de la table `aide_ext_annee_prec`
--
CREATE TABLE `aide_ext_annee_prec` (
`Cod_degre` int(16) NOT NULL default '0',
`Cod_etab` int(32) NOT NULL default '0',
`Cod_an_scol` int(16) NOT NULL default '0',
`Cod_typ_financ` int(16) NOT NULL default '0',
`Cod_util` int(16) NOT NULL default '0',
`Montant_aide` decimal(30,0) default NULL,
KEY `Cod_degre` (`Cod_degre`,`Cod_etab`,`Cod_an_scol`,`Cod_util`),
KEY `Cod_etab` (`Cod_etab`,`Cod_an_scol`,`Cod_util`),
KEY `Cod_an_scol` (`Cod_an_scol`,`Cod_util`),
KEY `Cod_util` (`Cod_util`),
KEY `Cod_typ_financ` (`Cod_typ_financ`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COMMENT='les aides extérieures bénéficiées l''année précédente';
--
-- Contenu de la table `aide_ext_annee_prec`
--
INSERT INTO `aide_ext_annee_prec` (`Cod_degre`, `Cod_etab`, `Cod_an_scol`, `Cod_typ_financ`, `Cod_util`, `Montant_aide`) VALUES
(1, 2, 2, 6, 3, 3333),
(1, 2, 2, 7, 4, 9999),
(1, 2, 2, 8, 1, 99999),
(1, 2, 2, 9, 2, 99999),
(1, 2, 2, 1, 8, 9999),
(2, 3, 2, 5, 3, 6000000),
(2, 3, 2, 6, 4, 300000),
(2, 3, 2, 7, 1, 100000),
(2, 3, 2, 8, 8, 200000);
-- --------------------------------------------------------
--
-- Structure de la table `aire_recrut`
--
CREATE TABLE `aire_recrut` (
`Cod_recrut` int(16) NOT NULL auto_increment,
`Lib_recrut` varchar(36) default NULL,
PRIMARY KEY (`Cod_recrut`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COMMENT='Infos sur les distances parcourues par les élèves' AUTO_INCREMENT=9 ;
--
-- Contenu de la table `aire_recrut`
--
INSERT INTO `aire_recrut` (`Cod_recrut`, `Lib_recrut`) VALUES
(1, ' INFERIEUR 1 Km'),
(2, ' ENTRE 1 et 3 Km'),
(3, ' ENTRE 3 et 5 Km'),
(4, ' SUPERIEUR 5 Km'),
(5, ' INFERIEUR 2 Km'),
(6, ' ENTRE 2 et 5 Km'),
(7, ' ENTRE 5 et 10 Km'),
(8, ' SUPERIEUR 10 Km');
-- --------------------------------------------------------
--
-- Structure de la table `annee`
--
CREATE TABLE `annee` (
`Cod_an_scol` int(16) NOT NULL auto_increment,
`Lib_an_scol` varchar(16) default NULL,
`Saisi_data` char(1) default NULL,
PRIMARY KEY (`Cod_an_scol`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COMMENT='contient les différentes années scolaires' AUTO_INCREMENT=10 ;
--
-- Contenu de la table `annee`
--
INSERT INTO `annee` (`Cod_an_scol`, `Lib_an_scol`, `Saisi_data`) VALUES
(2, '2008/2009', '0'),
(3, '2009/2010', '0'),
(4, '2010/2011', '0'),
(5, '2011/2012', '0'),
(6, '2012/2013', '0'),
(7, '2013/2014', '0'),
(8, '2014/2015', '0'),
(9, '2015/2016', '0');
-- --------------------------------------------------------
--
-- Structure de la table `besoins_etab`
--
CREATE TABLE `besoins_etab` (
`Cod_util` int(16) NOT NULL auto_increment,
`Lib_util` varchar(50) default NULL,
`Name_besoin` varchar(50) NOT NULL default '',
PRIMARY KEY (`Cod_util`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COMMENT='liste les besoins des établissements scolaires' AUTO_INCREMENT=10 ;
--
-- Contenu de la table `besoins_etab`
--
INSERT INTO `besoins_etab` (`Cod_util`, `Lib_util`, `Name_besoin`) VALUES
(1, 'Sanitaires', 'sanitaires'),
(2, 'Jeux', 'jeux'),
(3, 'Constructions scolaires', 'constr_scol'),
(4, 'Mobiliers scolaires(tables-bancs...)', 'mob_scol'),
(5, 'Reparation de mobiliers', 'rep_mob'),
(6, 'Reparation des locaux', 'rep_locaux'),
(7, 'Materiels pedagogiques', 'materiel_peda'),
(8, 'Autres', 'autres'),
(9, 'Manuels scolaires', 'manuel_scol');
-- --------------------------------------------------------
--
-- Structure de la table `canton`
--
CREATE TABLE `canton` (
`Cod_canton` int(16) NOT NULL auto_increment,
`N_CANTON` char(25) NOT NULL default '',
`Cod_pref` int(16) NOT NULL default '0',
PRIMARY KEY (`Cod_canton`),
UNIQUE KEY `N_CANTON` (`N_CANTON`),
KEY `Cod_pref` (`Cod_pref`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COMMENT='canton dans lequel se trouve l''établissment' AUTO_INCREMENT=357 ;
--
-- Contenu de la table `canton`
--
INSERT INTO `canton` (`Cod_canton`, `N_CANTON`, `Cod_pref`) VALUES
(1, 'AMOUTIVE', 1),
(2, 'BE', 1),
(3, 'BAGUIDA', 1),
(4, 'AGOE-NYIVE', 1),
(5, 'AFLAO', 1),
(6, 'SANGUERA', 1),
(7, 'TOGBLEKOPE', 1),
(8, 'ANEHO VILLE', 2),
(9, 'ANEHO', 2),
(10, 'AGBODRAFO', 2),
(11, 'AGOME-GLOZOU', 2),
(12, 'ATTITOGON', 2),
(13, 'AKLAKOU', 2),
(14, 'ANFOIN', 2),
(15, 'GLIDJI', 2),
(16, 'AFAGNAN', 2),
(17, 'VOGAN', 3),
(18, 'TOGOVILLE', 3),
(19, 'BADJA', 6),
(20, 'ANYRONKOPE', 3),
(21, 'AKOUMAPE', 3),
(22, 'VO-KOUTIME', 3),
(23, 'DZREKPO', 3),
(24, 'DAGBATI', 3),
(25, 'TABLIGBO', 4),
(26, 'KOUVE', 4),
(27, 'GBOTO', 4),
(28, 'AHEPE', 4),
(29, 'TOKPLI', 4),
(30, 'TCHEKPO', 4),
(31, 'SEDOME', 4),
(32, 'ZAFI', 4),
(33, 'TSEVIE', 5),
(34, 'DAVIE', 5),
(35, 'GBLAINVIE', 5),
(36, 'DALAVE', 5),
(37, 'KPOME', 5),
(38, 'GBATOPE', 5),
(39, 'GAPE', 5),
(40, 'BOLOU', 5),
(41, 'AGBELOUVE', 5),
(42, 'MISSION-TOVE', 5),
(43, 'WLI', 5),
(44, 'ABOBO', 5),
(45, 'KOVIE', 5),
(46, 'KEVE', 6),
(47, 'ASSAHOUN', 6),
(48, 'AKEPE', 6),
(4
2. Voici la structure de l'ancienne base de données avec quelques données ! !
-- phpMyAdmin SQL Dump
-- version 2.9.1.1
-- https://www.phpmyadmin.net/
--
-- Serveur: localhost
-- Généré le : Vendredi 11 Septembre 2009 à 15:49
-- Version du serveur: 5.0.27
-- Version de PHP: 5.2.0
--
-- Base de données: `base_nationale`
--
-- --------------------------------------------------------
--
-- Structure de la table `aide_ext_annee_cour`
--
CREATE TABLE `aide_ext_annee_cour` (
`Cod_degre` int(16) NOT NULL default '0',
`Cod_etab` int(32) NOT NULL default '0',
`Cod_an_scol` int(16) NOT NULL default '0',
`Cod_typ_financ` int(16) NOT NULL default '0',
`Cod_util` int(16) NOT NULL default '0',
`Montant_aide` decimal(30,0) default NULL,
KEY `Cod_degre` (`Cod_degre`,`Cod_etab`,`Cod_an_scol`,`Cod_util`),
KEY `Cod_etab` (`Cod_etab`,`Cod_an_scol`,`Cod_util`),
KEY `Cod_an_scol` (`Cod_an_scol`,`Cod_util`),
KEY `Cod_util` (`Cod_util`),
KEY `Cod_typ_financ` (`Cod_typ_financ`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COMMENT='les aides extérieures de l''année en cours';
--
-- Contenu de la table `aide_ext_annee_cour`
--
INSERT INTO `aide_ext_annee_cour` (`Cod_degre`, `Cod_etab`, `Cod_an_scol`, `Cod_typ_financ`, `Cod_util`, `Montant_aide`) VALUES
(1, 2, 2, 1, 3, 20000),
(1, 2, 2, 2, 4, 90000),
(1, 2, 2, 3, 1, 99999),
(1, 2, 2, 4, 2, 9999),
(1, 2, 2, 5, 8, 99999),
(2, 3, 2, 1, 3, 2000000),
(2, 3, 2, 2, 4, 3000),
(2, 3, 2, 3, 1, 4000),
(2, 3, 2, 4, 8, 1000);
-- --------------------------------------------------------
--
-- Structure de la table `aide_ext_annee_prec`
--
CREATE TABLE `aide_ext_annee_prec` (
`Cod_degre` int(16) NOT NULL default '0',
`Cod_etab` int(32) NOT NULL default '0',
`Cod_an_scol` int(16) NOT NULL default '0',
`Cod_typ_financ` int(16) NOT NULL default '0',
`Cod_util` int(16) NOT NULL default '0',
`Montant_aide` decimal(30,0) default NULL,
KEY `Cod_degre` (`Cod_degre`,`Cod_etab`,`Cod_an_scol`,`Cod_util`),
KEY `Cod_etab` (`Cod_etab`,`Cod_an_scol`,`Cod_util`),
KEY `Cod_an_scol` (`Cod_an_scol`,`Cod_util`),
KEY `Cod_util` (`Cod_util`),
KEY `Cod_typ_financ` (`Cod_typ_financ`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COMMENT='les aides extérieures bénéficiées l''année précédente';
--
-- Contenu de la table `aide_ext_annee_prec`
--
INSERT INTO `aide_ext_annee_prec` (`Cod_degre`, `Cod_etab`, `Cod_an_scol`, `Cod_typ_financ`, `Cod_util`, `Montant_aide`) VALUES
(1, 2, 2, 6, 3, 3333),
(1, 2, 2, 7, 4, 9999),
(1, 2, 2, 8, 1, 99999),
(1, 2, 2, 9, 2, 99999),
(1, 2, 2, 1, 8, 9999),
(2, 3, 2, 5, 3, 6000000),
(2, 3, 2, 6, 4, 300000),
(2, 3, 2, 7, 1, 100000),
(2, 3, 2, 8, 8, 200000);
-- --------------------------------------------------------
--
-- Structure de la table `aire_recrut`
--
CREATE TABLE `aire_recrut` (
`Cod_recrut` int(16) NOT NULL auto_increment,
`Lib_recrut` varchar(36) default NULL,
PRIMARY KEY (`Cod_recrut`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COMMENT='Infos sur les distances parcourues par les élèves' AUTO_INCREMENT=9 ;
--
-- Contenu de la table `aire_recrut`
--
INSERT INTO `aire_recrut` (`Cod_recrut`, `Lib_recrut`) VALUES
(1, ' INFERIEUR 1 Km'),
(2, ' ENTRE 1 et 3 Km'),
(3, ' ENTRE 3 et 5 Km'),
(4, ' SUPERIEUR 5 Km'),
(5, ' INFERIEUR 2 Km'),
(6, ' ENTRE 2 et 5 Km'),
(7, ' ENTRE 5 et 10 Km'),
(8, ' SUPERIEUR 10 Km');
-- --------------------------------------------------------
--
-- Structure de la table `annee`
--
CREATE TABLE `annee` (
`Cod_an_scol` int(16) NOT NULL auto_increment,
`Lib_an_scol` varchar(16) default NULL,
`Saisi_data` char(1) default NULL,
PRIMARY KEY (`Cod_an_scol`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COMMENT='contient les différentes années scolaires' AUTO_INCREMENT=10 ;
--
-- Contenu de la table `annee`
--
INSERT INTO `annee` (`Cod_an_scol`, `Lib_an_scol`, `Saisi_data`) VALUES
(2, '2008/2009', '0'),
(3, '2009/2010', '0'),
(4, '2010/2011', '0'),
(5, '2011/2012', '0'),
(6, '2012/2013', '0'),
(7, '2013/2014', '0'),
(8, '2014/2015', '0'),
(9, '2015/2016', '0');
-- --------------------------------------------------------
--
-- Structure de la table `besoins_etab`
--
CREATE TABLE `besoins_etab` (
`Cod_util` int(16) NOT NULL auto_increment,
`Lib_util` varchar(50) default NULL,
`Name_besoin` varchar(50) NOT NULL default '',
PRIMARY KEY (`Cod_util`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COMMENT='liste les besoins des établissements scolaires' AUTO_INCREMENT=10 ;
--
-- Contenu de la table `besoins_etab`
--
INSERT INTO `besoins_etab` (`Cod_util`, `Lib_util`, `Name_besoin`) VALUES
(1, 'Sanitaires', 'sanitaires'),
(2, 'Jeux', 'jeux'),
(3, 'Constructions scolaires', 'constr_scol'),
(4, 'Mobiliers scolaires(tables-bancs...)', 'mob_scol'),
(5, 'Reparation de mobiliers', 'rep_mob'),
(6, 'Reparation des locaux', 'rep_locaux'),
(7, 'Materiels pedagogiques', 'materiel_peda'),
(8, 'Autres', 'autres'),
(9, 'Manuels scolaires', 'manuel_scol');
-- --------------------------------------------------------
--
-- Structure de la table `canton`
--
CREATE TABLE `canton` (
`Cod_canton` int(16) NOT NULL auto_increment,
`N_CANTON` char(25) NOT NULL default '',
`Cod_pref` int(16) NOT NULL default '0',
PRIMARY KEY (`Cod_canton`),
UNIQUE KEY `N_CANTON` (`N_CANTON`),
KEY `Cod_pref` (`Cod_pref`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COMMENT='canton dans lequel se trouve l''établissment' AUTO_INCREMENT=357 ;
--
-- Contenu de la table `canton`
--
INSERT INTO `canton` (`Cod_canton`, `N_CANTON`, `Cod_pref`) VALUES
(1, 'AMOUTIVE', 1),
(2, 'BE', 1),
(3, 'BAGUIDA', 1),
(4, 'AGOE-NYIVE', 1),
(5, 'AFLAO', 1),
(6, 'SANGUERA', 1),
(7, 'TOGBLEKOPE', 1),
(8, 'ANEHO VILLE', 2),
(9, 'ANEHO', 2),
(10, 'AGBODRAFO', 2),
(11, 'AGOME-GLOZOU', 2),
(12, 'ATTITOGON', 2),
(13, 'AKLAKOU', 2),
(14, 'ANFOIN', 2),
(15, 'GLIDJI', 2),
(16, 'AFAGNAN', 2),
(17, 'VOGAN', 3),
(18, 'TOGOVILLE', 3),
(19, 'BADJA', 6),
(20, 'ANYRONKOPE', 3),
(21, 'AKOUMAPE', 3),
(22, 'VO-KOUTIME', 3),
(23, 'DZREKPO', 3),
(24, 'DAGBATI', 3),
(25, 'TABLIGBO', 4),
(26, 'KOUVE', 4),
(27, 'GBOTO', 4),
(28, 'AHEPE', 4),
(29, 'TOKPLI', 4),
(30, 'TCHEKPO', 4),
(31, 'SEDOME', 4),
(32, 'ZAFI', 4),
(33, 'TSEVIE', 5),
(34, 'DAVIE', 5),
(35, 'GBLAINVIE', 5),
(36, 'DALAVE', 5),
(37, 'KPOME', 5),
(38, 'GBATOPE', 5),
(39, 'GAPE', 5),
(40, 'BOLOU', 5),
(41, 'AGBELOUVE', 5),
(42, 'MISSION-TOVE', 5),
(43, 'WLI', 5),
(44, 'ABOBO', 5),
(45, 'KOVIE', 5),
(46, 'KEVE', 6),
(47, 'ASSAHOUN', 6),
(48, 'AKEPE', 6),
(4
Salut
2. Voici la structure de l'ancienne base de données avec quelques données ! !
-- phpMyAdmin SQL Dump
-- version 2.9.1.1
-- https://www.phpmyadmin.net/
--
-- Serveur: localhost
-- Généré le : Vendredi 11 Septembre 2009 à 15:49
-- Version du serveur: 5.0.27
-- Version de PHP: 5.2.0
--
-- Base de données: `base_nationale`
--
-- --------------------------------------------------------
--
-- Structure de la table `aide_ext_annee_cour`
--
CREATE TABLE `aide_ext_annee_cour` (
`Cod_degre` int(16) NOT NULL default '0',
`Cod_etab` int(32) NOT NULL default '0',
`Cod_an_scol` int(16) NOT NULL default '0',
`Cod_typ_financ` int(16) NOT NULL default '0',
`Cod_util` int(16) NOT NULL default '0',
`Montant_aide` decimal(30,0) default NULL,
KEY `Cod_degre` (`Cod_degre`,`Cod_etab`,`Cod_an_scol`,`Cod_util`),
KEY `Cod_etab` (`Cod_etab`,`Cod_an_scol`,`Cod_util`),
KEY `Cod_an_scol` (`Cod_an_scol`,`Cod_util`),
KEY `Cod_util` (`Cod_util`),
KEY `Cod_typ_financ` (`Cod_typ_financ`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COMMENT='les aides extérieures de l''année en cours';
--
-- Contenu de la table `aide_ext_annee_cour`
--
INSERT INTO `aide_ext_annee_cour` (`Cod_degre`, `Cod_etab`, `Cod_an_scol`, `Cod_typ_financ`, `Cod_util`, `Montant_aide`) VALUES
(1, 2, 2, 1, 3, 20000),
(1, 2, 2, 2, 4, 90000),
(1, 2, 2, 3, 1, 99999),
(1, 2, 2, 4, 2, 9999),
(1, 2, 2, 5, 8, 99999),
(2, 3, 2, 1, 3, 2000000),
(2, 3, 2, 2, 4, 3000),
(2, 3, 2, 3, 1, 4000),
(2, 3, 2, 4, 8, 1000);
-- --------------------------------------------------------
--
-- Structure de la table `aide_ext_annee_prec`
--
CREATE TABLE `aide_ext_annee_prec` (
`Cod_degre` int(16) NOT NULL default '0',
`Cod_etab` int(32) NOT NULL default '0',
`Cod_an_scol` int(16) NOT NULL default '0',
`Cod_typ_financ` int(16) NOT NULL default '0',
`Cod_util` int(16) NOT NULL default '0',
`Montant_aide` decimal(30,0) default NULL,
KEY `Cod_degre` (`Cod_degre`,`Cod_etab`,`Cod_an_scol`,`Cod_util`),
KEY `Cod_etab` (`Cod_etab`,`Cod_an_scol`,`Cod_util`),
KEY `Cod_an_scol` (`Cod_an_scol`,`Cod_util`),
KEY `Cod_util` (`Cod_util`),
KEY `Cod_typ_financ` (`Cod_typ_financ`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COMMENT='les aides extérieures bénéficiées l''année précédente';
--
-- Contenu de la table `aide_ext_annee_prec`
--
INSERT INTO `aide_ext_annee_prec` (`Cod_degre`, `Cod_etab`, `Cod_an_scol`, `Cod_typ_financ`, `Cod_util`, `Montant_aide`) VALUES
(1, 2, 2, 6, 3, 3333),
(1, 2, 2, 7, 4, 9999),
(1, 2, 2, 8, 1, 99999),
(1, 2, 2, 9, 2, 99999),
(1, 2, 2, 1, 8, 9999),
(2, 3, 2, 5, 3, 6000000),
(2, 3, 2, 6, 4, 300000),
(2, 3, 2, 7, 1, 100000),
2. Voici la structure de l'ancienne base de données avec quelques données ! !
-- phpMyAdmin SQL Dump
-- version 2.9.1.1
-- https://www.phpmyadmin.net/
--
-- Serveur: localhost
-- Généré le : Vendredi 11 Septembre 2009 à 15:49
-- Version du serveur: 5.0.27
-- Version de PHP: 5.2.0
--
-- Base de données: `base_nationale`
--
-- --------------------------------------------------------
--
-- Structure de la table `aide_ext_annee_cour`
--
CREATE TABLE `aide_ext_annee_cour` (
`Cod_degre` int(16) NOT NULL default '0',
`Cod_etab` int(32) NOT NULL default '0',
`Cod_an_scol` int(16) NOT NULL default '0',
`Cod_typ_financ` int(16) NOT NULL default '0',
`Cod_util` int(16) NOT NULL default '0',
`Montant_aide` decimal(30,0) default NULL,
KEY `Cod_degre` (`Cod_degre`,`Cod_etab`,`Cod_an_scol`,`Cod_util`),
KEY `Cod_etab` (`Cod_etab`,`Cod_an_scol`,`Cod_util`),
KEY `Cod_an_scol` (`Cod_an_scol`,`Cod_util`),
KEY `Cod_util` (`Cod_util`),
KEY `Cod_typ_financ` (`Cod_typ_financ`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COMMENT='les aides extérieures de l''année en cours';
--
-- Contenu de la table `aide_ext_annee_cour`
--
INSERT INTO `aide_ext_annee_cour` (`Cod_degre`, `Cod_etab`, `Cod_an_scol`, `Cod_typ_financ`, `Cod_util`, `Montant_aide`) VALUES
(1, 2, 2, 1, 3, 20000),
(1, 2, 2, 2, 4, 90000),
(1, 2, 2, 3, 1, 99999),
(1, 2, 2, 4, 2, 9999),
(1, 2, 2, 5, 8, 99999),
(2, 3, 2, 1, 3, 2000000),
(2, 3, 2, 2, 4, 3000),
(2, 3, 2, 3, 1, 4000),
(2, 3, 2, 4, 8, 1000);
-- --------------------------------------------------------
--
-- Structure de la table `aide_ext_annee_prec`
--
CREATE TABLE `aide_ext_annee_prec` (
`Cod_degre` int(16) NOT NULL default '0',
`Cod_etab` int(32) NOT NULL default '0',
`Cod_an_scol` int(16) NOT NULL default '0',
`Cod_typ_financ` int(16) NOT NULL default '0',
`Cod_util` int(16) NOT NULL default '0',
`Montant_aide` decimal(30,0) default NULL,
KEY `Cod_degre` (`Cod_degre`,`Cod_etab`,`Cod_an_scol`,`Cod_util`),
KEY `Cod_etab` (`Cod_etab`,`Cod_an_scol`,`Cod_util`),
KEY `Cod_an_scol` (`Cod_an_scol`,`Cod_util`),
KEY `Cod_util` (`Cod_util`),
KEY `Cod_typ_financ` (`Cod_typ_financ`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COMMENT='les aides extérieures bénéficiées l''année précédente';
--
-- Contenu de la table `aide_ext_annee_prec`
--
INSERT INTO `aide_ext_annee_prec` (`Cod_degre`, `Cod_etab`, `Cod_an_scol`, `Cod_typ_financ`, `Cod_util`, `Montant_aide`) VALUES
(1, 2, 2, 6, 3, 3333),
(1, 2, 2, 7, 4, 9999),
(1, 2, 2, 8, 1, 99999),
(1, 2, 2, 9, 2, 99999),
(1, 2, 2, 1, 8, 9999),
(2, 3, 2, 5, 3, 6000000),
(2, 3, 2, 6, 4, 300000),
(2, 3, 2, 7, 1, 100000),
Salut
2. Voici la structure de l'ancienne base de données avec quelques données ! !
-- phpMyAdmin SQL Dump
-- version 2.9.1.1
-- https://www.phpmyadmin.net/
--
-- Serveur: localhost
-- Généré le : Vendredi 11 Septembre 2009 à 15:49
-- Version du serveur: 5.0.27
-- Version de PHP: 5.2.0
--
-- Base de données: `base_nationale`
--
-- --------------------------------------------------------
--
-- Structure de la table `aide_ext_annee_cour`
--
CREATE TABLE `aide_ext_annee_cour` (
`Cod_degre` int(16) NOT NULL default '0',
`Cod_etab` int(32) NOT NULL default '0',
`Cod_an_scol` int(16) NOT NULL default '0',
`Cod_typ_financ` int(16) NOT NULL default '0',
`Cod_util` int(16) NOT NULL default '0',
`Montant_aide` decimal(30,0) default NULL,
KEY `Cod_degre` (`Cod_degre`,`Cod_etab`,`Cod_an_scol`,`Cod_util`),
KEY `Cod_etab` (`Cod_etab`,`Cod_an_scol`,`Cod_util`),
KEY `Cod_an_scol` (`Cod_an_scol`,`Cod_util`),
KEY `Cod_util` (`Cod_util`),
KEY `Cod_typ_financ` (`Cod_typ_financ`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COMMENT='les aides extérieures de l''année en cours';
--
-- Contenu de la table `aide_ext_annee_cour`
--
INSERT INTO `aide_ext_annee_cour` (`Cod_degre`, `Cod_etab`, `Cod_an_scol`, `Cod_typ_financ`, `Cod_util`, `Montant_aide`) VALUES
(1, 2, 2, 1, 3, 20000),
(1, 2, 2, 2, 4, 90000),
(1, 2, 2, 3, 1, 99999),
(1, 2, 2, 4, 2, 9999),
(1, 2, 2, 5, 8, 99999),
(2, 3, 2, 1, 3, 2000000),
(2, 3, 2, 2, 4, 3000),
(2, 3, 2, 3, 1, 4000),
(2, 3, 2, 4, 8, 1000);
-- --------------------------------------------------------
--
-- Structure de la table `aide_ext_annee_prec`
--
CREATE TABLE `aide_ext_annee_prec` (
`Cod_degre` int(16) NOT NULL default '0',
`Cod_etab` int(32) NOT NULL default '0',
`Cod_an_scol` int(16) NOT NULL default '0',
`Cod_typ_financ` int(16) NOT NULL default '0',
`Cod_util` int(16) NOT NULL default '0',
`Montant_aide` decimal(30,0) default NULL,
KEY `Cod_degre` (`Cod_degre`,`Cod_etab`,`Cod_an_scol`,`Cod_util`),
KEY `Cod_etab` (`Cod_etab`,`Cod_an_scol`,`Cod_util`),
KEY `Cod_an_scol` (`Cod_an_scol`,`Cod_util`),
KEY `Cod_util` (`Cod_util`),
KEY `Cod_typ_financ` (`Cod_typ_financ`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COMMENT='les aides extérieures bénéficiées l''année précédente';
--
-- Contenu de la table `aide_ext_annee_prec`
--
INSERT INTO `aide_ext_annee_prec` (`Cod_degre`, `Cod_etab`, `Cod_an_scol`, `Cod_typ_financ`, `Cod_util`, `Montant_aide`) VALUES
(1, 2, 2, 6, 3, 3333),
(1, 2, 2, 7, 4, 9999),
(1, 2, 2, 8, 1, 99999),
(1, 2, 2, 9, 2, 99999),
(1, 2, 2, 1, 8, 9999),
(2, 3, 2, 5, 3, 6000000),
(2, 3, 2, 6, 4, 300000),
(2, 3, 2, 7, 1, 100000),
(2, 3, 2, 8, 8, 200000);
-- --------------------------------------------------------
--
-- Structure de la table `aire_recrut`
--
CREATE TABLE `aire_recrut` (
`Cod_recrut` int(16) NOT NULL auto_increment,
`Lib_recrut` varchar(36) default NULL,
PRIMARY KEY (`Cod_recrut`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COMMENT='Infos sur les distances parcourues par les élèves' AUTO_INCREMENT=9 ;
--
-- Contenu de la table `aire_recrut`
--
INSERT INTO `aire_recrut` (`Cod_recrut`, `Lib_recrut`) VALUES
(1, ' INFERIEUR 1 Km'),
(2, ' ENTRE 1 et 3 Km'),
(3, ' ENTRE 3 et 5 Km'),
(4, ' SUPERIEUR 5 Km'),
(5, ' INFERIEUR 2 Km'),
(6, ' ENTRE 2 et 5 Km'),
(7, ' ENTRE 5 et 10 Km'),
(8, ' SUPERIEUR 10 Km');
-- --------------------------------------------------------
--
-- Structure de la table `annee`
--
CREATE TABLE `annee` (
`Cod_an_scol` int(16) NOT NULL auto_increment,
`Lib_an_scol` varchar(16) default NULL,
`Saisi_data` char(1) default NULL,
PRIMARY KEY (`Cod_an_scol`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COMMENT='contient les différentes années scolaires' AUTO_INCREMENT=10 ;
--
-- Contenu de la table `annee`
--
INSERT INTO `annee` (`Cod_an_scol`, `Lib_an_scol`, `Saisi_data`) VALUES
(2, '2008/2009', '0'),
(3, '2009/2010', '0'),
(4, '2010/2011', '0'),
(5, '2011/2012', '0'),
(6, '2012/2013', '0'),
(7, '2013/2014', '0'),
(8, '2014/2015', '0'),
(9, '2015/2016', '0');
-- --------------------------------------------------------
--
-- Structure de la table `besoins_etab`
--
CREATE TABLE `besoins_etab` (
`Cod_util` int(16) NOT NULL auto_increment,
`Lib_util` varchar(50) default NULL,
`Name_besoin` varcha
2. Voici la structure de l'ancienne base de données avec quelques données ! !
-- phpMyAdmin SQL Dump
-- version 2.9.1.1
-- https://www.phpmyadmin.net/
--
-- Serveur: localhost
-- Généré le : Vendredi 11 Septembre 2009 à 15:49
-- Version du serveur: 5.0.27
-- Version de PHP: 5.2.0
--
-- Base de données: `base_nationale`
--
-- --------------------------------------------------------
--
-- Structure de la table `aide_ext_annee_cour`
--
CREATE TABLE `aide_ext_annee_cour` (
`Cod_degre` int(16) NOT NULL default '0',
`Cod_etab` int(32) NOT NULL default '0',
`Cod_an_scol` int(16) NOT NULL default '0',
`Cod_typ_financ` int(16) NOT NULL default '0',
`Cod_util` int(16) NOT NULL default '0',
`Montant_aide` decimal(30,0) default NULL,
KEY `Cod_degre` (`Cod_degre`,`Cod_etab`,`Cod_an_scol`,`Cod_util`),
KEY `Cod_etab` (`Cod_etab`,`Cod_an_scol`,`Cod_util`),
KEY `Cod_an_scol` (`Cod_an_scol`,`Cod_util`),
KEY `Cod_util` (`Cod_util`),
KEY `Cod_typ_financ` (`Cod_typ_financ`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COMMENT='les aides extérieures de l''année en cours';
--
-- Contenu de la table `aide_ext_annee_cour`
--
INSERT INTO `aide_ext_annee_cour` (`Cod_degre`, `Cod_etab`, `Cod_an_scol`, `Cod_typ_financ`, `Cod_util`, `Montant_aide`) VALUES
(1, 2, 2, 1, 3, 20000),
(1, 2, 2, 2, 4, 90000),
(1, 2, 2, 3, 1, 99999),
(1, 2, 2, 4, 2, 9999),
(1, 2, 2, 5, 8, 99999),
(2, 3, 2, 1, 3, 2000000),
(2, 3, 2, 2, 4, 3000),
(2, 3, 2, 3, 1, 4000),
(2, 3, 2, 4, 8, 1000);
-- --------------------------------------------------------
--
-- Structure de la table `aide_ext_annee_prec`
--
CREATE TABLE `aide_ext_annee_prec` (
`Cod_degre` int(16) NOT NULL default '0',
`Cod_etab` int(32) NOT NULL default '0',
`Cod_an_scol` int(16) NOT NULL default '0',
`Cod_typ_financ` int(16) NOT NULL default '0',
`Cod_util` int(16) NOT NULL default '0',
`Montant_aide` decimal(30,0) default NULL,
KEY `Cod_degre` (`Cod_degre`,`Cod_etab`,`Cod_an_scol`,`Cod_util`),
KEY `Cod_etab` (`Cod_etab`,`Cod_an_scol`,`Cod_util`),
KEY `Cod_an_scol` (`Cod_an_scol`,`Cod_util`),
KEY `Cod_util` (`Cod_util`),
KEY `Cod_typ_financ` (`Cod_typ_financ`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COMMENT='les aides extérieures bénéficiées l''année précédente';
--
-- Contenu de la table `aide_ext_annee_prec`
--
INSERT INTO `aide_ext_annee_prec` (`Cod_degre`, `Cod_etab`, `Cod_an_scol`, `Cod_typ_financ`, `Cod_util`, `Montant_aide`) VALUES
(1, 2, 2, 6, 3, 3333),
(1, 2, 2, 7, 4, 9999),
(1, 2, 2, 8, 1, 99999),
(1, 2, 2, 9, 2, 99999),
(1, 2, 2, 1, 8, 9999),
(2, 3, 2, 5, 3, 6000000),
(2, 3, 2, 6, 4, 300000),
(2, 3, 2, 7, 1, 100000),
(2, 3, 2, 8, 8, 200000);
-- --------------------------------------------------------
--
-- Structure de la table `aire_recrut`
--
CREATE TABLE `aire_recrut` (
`Cod_recrut` int(16) NOT NULL auto_increment,
`Lib_recrut` varchar(36) default NULL,
PRIMARY KEY (`Cod_recrut`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COMMENT='Infos sur les distances parcourues par les élèves' AUTO_INCREMENT=9 ;
--
-- Contenu de la table `aire_recrut`
--
INSERT INTO `aire_recrut` (`Cod_recrut`, `Lib_recrut`) VALUES
(1, ' INFERIEUR 1 Km'),
(2, ' ENTRE 1 et 3 Km'),
(3, ' ENTRE 3 et 5 Km'),
(4, ' SUPERIEUR 5 Km'),
(5, ' INFERIEUR 2 Km'),
(6, ' ENTRE 2 et 5 Km'),
(7, ' ENTRE 5 et 10 Km'),
(8, ' SUPERIEUR 10 Km');
-- --------------------------------------------------------
--
-- Structure de la table `annee`
--
CREATE TABLE `annee` (
`Cod_an_scol` int(16) NOT NULL auto_increment,
`Lib_an_scol` varchar(16) default NULL,
`Saisi_data` char(1) default NULL,
PRIMARY KEY (`Cod_an_scol`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COMMENT='contient les différentes années scolaires' AUTO_INCREMENT=10 ;
--
-- Contenu de la table `annee`
--
INSERT INTO `annee` (`Cod_an_scol`, `Lib_an_scol`, `Saisi_data`) VALUES
(2, '2008/2009', '0'),
(3, '2009/2010', '0'),
(4, '2010/2011', '0'),
(5, '2011/2012', '0'),
(6, '2012/2013', '0'),
(7, '2013/2014', '0'),
(8, '2014/2015', '0'),
(9, '2015/2016', '0');
-- --------------------------------------------------------
--
-- Structure de la table `besoins_etab`
--
CREATE TABLE `besoins_etab` (
`Cod_util` int(16) NOT NULL auto_increment,
`Lib_util` varchar(50) default NULL,
`Name_besoin` varcha
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question
Talend est un logiciel open source capable de fusionner vos bases de données.
Talend Open Studio est un outil ETL open source pour des experts de l'intégration de données avec un GUI fonctionnel.
Pour plus d'information: https://www.talend.com/
Talend Open Studio est un outil ETL open source pour des experts de l'intégration de données avec un GUI fonctionnel.
Pour plus d'information: https://www.talend.com/
Précédent
- 1
- 2