projet-php/Docs/BDD.sql

456 lines
27 KiB
MySQL
Raw Normal View History

2015-12-03 08:54:20 +00:00
-- phpMyAdmin SQL Dump
-- version 4.5.2
2015-12-03 08:54:20 +00:00
-- http://www.phpmyadmin.net
--
-- Client : localhost
-- Généré le : Jeu 10 Décembre 2015 à 09:46
-- Version du serveur : 10.1.9-MariaDB-log
-- Version de PHP : 7.0.0
2015-12-03 08:54:20 +00:00
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 utf8mb4 */;
2015-12-03 08:54:20 +00:00
--
-- Base de données : `projetphp`
2015-12-03 08:54:20 +00:00
--
-- --------------------------------------------------------
--
-- Structure de la table `Medecin`
--
CREATE TABLE `Medecin` (
`Id` int(11) NOT NULL,
2015-12-03 08:54:20 +00:00
`Civilite` char(1) NOT NULL,
`Prenom` varchar(45) NOT NULL,
`Nom` varchar(45) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Contenu de la table `Medecin`
--
INSERT INTO `Medecin` (`Id`, `Civilite`, `Prenom`, `Nom`) VALUES
(1, 'M', 'Heather', 'HUFF'),
(2, 'F', 'Leann', 'SCOTT'),
(3, 'F', 'Browning', 'DAVENPORT'),
(4, 'M', 'Garner', 'REYNOLDS'),
(5, 'M', 'Juana', 'KOCH'),
(6, 'F', 'Lynn', 'OWENS'),
(7, 'M', 'Jefferson', 'FIGUEROA'),
(8, 'M', 'Jones', 'LOWE'),
(9, 'M', 'Kristi', 'FITZGERALD'),
(10, 'F', 'Sue', 'SHEPHERD'),
(11, 'F', 'Dyer', 'KNOX'),
(12, 'M', 'Joann', 'VALENCIA'),
(13, 'F', 'Catherine', 'BAXTER'),
(14, 'F', 'Dominique', 'MOONEY'),
(15, 'F', 'Baldwin', 'BAUER'),
(16, 'M', 'Turner', 'SANDOVAL'),
(17, 'M', 'Martin', 'KIDD'),
(18, 'M', 'Shannon', 'BALLARD'),
(19, 'F', 'Lillian', 'SOLOMON'),
(20, 'F', 'Cervantes', 'HURLEY'),
(21, 'M', 'Mcgee', 'WIGGINS'),
(22, 'M', 'Bartlett', 'COTE'),
(23, 'M', 'Rosanna', 'WILLIAM'),
(24, 'F', 'Diane', 'HOLMES'),
(25, 'F', 'Mattie', 'AYERS'),
(26, 'F', 'Shepherd', 'MOON'),
(27, 'M', 'Kendra', 'LARSEN'),
(28, 'F', 'Gaines', 'WHITEHEAD'),
(29, 'M', 'Cindy', 'LEVY'),
(30, 'F', 'Meredith', 'MACIAS'),
(31, 'F', 'Christine', 'MEYERS'),
(32, 'F', 'Gabriela', 'INGRAM'),
(33, 'F', 'Fleming', 'MONTGOMERY'),
(34, 'M', 'Cannon', 'GRANT'),
(35, 'M', 'Joyce', 'WHITFIELD'),
(36, 'M', 'Hardin', 'SHIELDS'),
(37, 'M', 'Rowena', 'AVILA'),
(38, 'F', 'Renee', 'RICE'),
(39, 'F', 'Anna', 'RANDOLPH'),
(40, 'F', 'Kathie', 'CONLEY'),
(41, 'F', 'Clemons', 'COLLINS'),
(42, 'M', 'Black', 'HARTMAN'),
(43, 'M', 'Baker', 'BUSH'),
(44, 'M', 'Emerson', 'GUTIERREZ'),
(45, 'M', 'Schmidt', 'HOUSE'),
(46, 'M', 'Frances', 'MORGAN'),
(47, 'F', 'Mcdonald', 'MIDDLETON'),
(48, 'M', 'Taylor', 'NIXON'),
(49, 'F', 'Durham', 'HALEY'),
(50, 'M', 'Craft', 'FORBES'),
(51, 'M', 'Stephanie', 'LANG'),
(52, 'F', 'Chapman', 'PRATT'),
(53, 'M', 'Jody', 'WISE'),
(54, 'F', 'Prince', 'DUDLEY'),
(55, 'M', 'Terry', 'BURNETT'),
(56, 'F', 'Gwen', 'JUSTICE'),
(57, 'F', 'Lancaster', 'DORSEY'),
(58, 'M', 'Eloise', 'MELENDEZ'),
(59, 'F', 'Mercedes', 'GOULD'),
(60, 'F', 'Caitlin', 'WHITE'),
(61, 'F', 'Ashlee', 'DAVIDSON'),
(62, 'F', 'Mccall', 'CARLSON'),
(63, 'M', 'Workman', 'PETTY'),
(64, 'M', 'Sonya', 'DONOVAN'),
(65, 'F', 'Sharon', 'HOPPER'),
(66, 'F', 'Sylvia', 'STARK'),
(67, 'F', 'Sheri', 'ALLISON'),
(68, 'F', 'Fuentes', 'BURGESS'),
(69, 'M', 'Elaine', 'WEEKS'),
(70, 'F', 'Nunez', 'HARMON'),
(71, 'M', 'Darcy', 'FORD'),
(72, 'F', 'Delacruz', 'SANDERS'),
(73, 'M', 'Farrell', 'BOND'),
(74, 'M', 'Jana', 'GORDON'),
(75, 'F', 'Brooke', 'ROSALES'),
(76, 'F', 'Carson', 'WILKERSON'),
(77, 'M', 'Jeanine', 'ONEILL'),
(78, 'F', 'Molly', 'FITZPATRICK'),
(79, 'F', 'Moon', 'WILLIS'),
(80, 'M', 'Rose', 'SOSA'),
(81, 'M', 'Ericka', 'PARSONS'),
(82, 'F', 'Lynch', 'SWANSON'),
(83, 'M', 'Le', 'BRADLEY'),
(84, 'M', 'Lois', 'BENTLEY'),
(85, 'F', 'Vance', 'ORTEGA'),
(86, 'M', 'Alice', 'PARK'),
(87, 'F', 'Dickerson', 'LAMB'),
(88, 'M', 'Jewel', 'SNIDER'),
(89, 'F', 'Hewitt', 'BATTLE'),
(90, 'M', 'Louise', 'PADILLA'),
(91, 'F', 'Eliza', 'FOWLER'),
(92, 'F', 'Catalina', 'PETERSEN'),
(93, 'F', 'Simon', 'NGUYEN'),
(94, 'M', 'Boyd', 'MATHIS'),
(95, 'M', 'Alston', 'CALDERON'),
(96, 'M', 'Bolton', 'ELLISON'),
(97, 'M', 'Stefanie', 'DURHAM'),
(98, 'F', 'Janice', 'FRANCIS'),
(99, 'F', 'Jean', 'BOOTH'),
(100, 'F', 'Ryan', 'SHEPPARD');
2015-12-03 08:54:20 +00:00
-- --------------------------------------------------------
--
-- Structure de la table `Patient`
--
CREATE TABLE `Patient` (
`Id` int(11) NOT NULL,
2015-12-03 08:54:20 +00:00
`Civilite` char(1) NOT NULL,
`Nom` varchar(45) CHARACTER SET big5 NOT NULL,
`Prenom` varchar(45) NOT NULL,
`Adresse` varchar(255) NOT NULL,
`Adresse2` varchar(255) DEFAULT NULL,
2015-12-03 08:54:20 +00:00
`Ville` varchar(50) NOT NULL,
`CodePostal` varchar(5) NOT NULL,
2015-12-03 08:54:20 +00:00
`DateNaissance` date NOT NULL,
`LieuNaissance` varchar(50) NOT NULL,
`NumSecuriteSociale` varchar(15) NOT NULL,
`MedecinTraitant` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Contenu de la table `Patient`
2015-12-03 08:54:20 +00:00
--
INSERT INTO `Patient` (`Id`, `Civilite`, `Nom`, `Prenom`, `Adresse`, `Adresse2`, `Ville`, `CodePostal`, `DateNaissance`, `LieuNaissance`, `NumSecuriteSociale`, `MedecinTraitant`) VALUES
(1, 'M', 'SILVA', 'Lena', '649 Banner Avenue, Tooleville, Iowa', NULL, 'North Dakota', '52882', '1911-09-13', 'Texas', '12698948371', 33),
(2, 'F', 'KEMP', 'Clay', '807 Beayer Place, Linganore, New Hampshire', NULL, 'South Dakota', '61218', '2010-08-20', 'Arkansas', '20628078948', 88),
(3, 'M', 'PAUL', 'Buck', '494 Macdougal Street, Chumuckla, Marshall Islands', NULL, 'Massachusetts', '68865', '1910-12-09', 'Federated States Of Micronesia', '15945373003', 9),
(4, 'M', 'GARNER', 'Martina', '339 Frank Court, Defiance, West Virginia', NULL, 'Puerto Rico', '62671', '2008-10-01', 'Hawaii', '19329610967', 66),
(5, 'F', 'BURCH', 'Chasity', '866 Clarendon Road, Cumminsville, Virginia', NULL, 'Vermont', '38435', '2012-06-25', 'Arizona', '27391164606', 25),
(6, 'F', 'JEFFERSON', 'Shana', '175 Wyckoff Street, Trucksville, South Carolina', NULL, 'New Mexico', '85431', '2006-10-15', 'Mississippi', '26819094421', 30),
(7, 'F', 'BLAKE', 'Arlene', '859 Debevoise Street, Russellville, Virgin Islands', NULL, 'Wyoming', '61926', '1966-06-18', 'Pennsylvania', '23960497083', 93),
(8, 'F', 'DIAZ', 'Dawn', '273 Madison Street, Boonville, Idaho', NULL, 'North Carolina', '02209', '2006-10-04', 'Rhode Island', '27215823739', 40),
(9, 'F', 'WHITLEY', 'Franco', '693 Horace Court, Rockbridge, Florida', NULL, 'California', '97479', '1927-06-07', 'Indiana', '29328474141', 46),
(10, 'M', 'BUCK', 'Beck', '919 Cleveland Street, Barronett, Montana', NULL, 'Palau', '48585', '2012-12-09', 'American Samoa', '19699641707', 67),
(11, 'M', 'COLE', 'Solomon', '412 Elizabeth Place, Bannock, Wisconsin', NULL, 'Michigan', '12693', '1935-04-15', 'Tennessee', '10678642104', 89),
(12, 'M', 'VASQUEZ', 'Best', '335 Krier Place, Tedrow, Delaware', NULL, 'Connecticut', '32627', '2007-08-28', 'Guam', '19009855991', 32),
(13, 'M', 'ROSS', 'Clark', '979 Celeste Court, Hessville, Louisiana', NULL, 'Northern Mariana Islands', '87310', '2007-06-27', 'Illinois', '11086416557', 72),
(14, 'M', 'CHEN', 'Ida', '205 Malta Street, Camas, Oklahoma', NULL, 'Alaska', '14500', '1927-06-02', 'New York', '17998195070', 35),
(15, 'F', 'BUCKLEY', 'Kathie', '415 Varick Street, Watchtower, Nevada', NULL, 'Minnesota', '87418', '2010-11-20', 'Colorado', '28577369272', 29),
(16, 'F', 'FOX', 'Mitchell', '474 Navy Walk, Waterford, Alabama', NULL, 'Kentucky', '20730', '2008-12-13', 'Missouri', '23197712678', 94),
(17, 'M', 'GOODMAN', 'Anthony', '526 Dodworth Street, Shawmut, Kansas', NULL, 'Ohio', '73624', '2000-11-21', 'Nebraska', '14355429029', 87),
(18, 'M', 'SAWYER', 'Brigitte', '490 Ebony Court, Steinhatchee, Maryland', NULL, 'Maine', '90009', '1993-09-30', 'Georgia', '19496691291', 12),
(19, 'F', 'CHRISTENSEN', 'Bates', '743 Middleton Street, Lowell, District Of Columbia', NULL, 'Washington', '43676', '2015-09-05', 'Oregon', '29308759372', 84),
(20, 'M', 'TALLEY', 'Angela', '524 Wythe Avenue, Bawcomville, New Jersey', NULL, 'Iowa', '50898', '2003-10-30', 'North Dakota', '11465049462', 43),
(21, 'F', 'COLEMAN', 'Logan', '238 Kent Street, Celeryville, Texas', NULL, 'New Hampshire', '06311', '2008-03-17', 'South Dakota', '28533965670', 21),
(22, 'M', 'MCCULLOUGH', 'Newman', '199 Kane Place, Yogaville, Arkansas', NULL, 'Marshall Islands', '80883', '2002-07-04', 'Massachusetts', '13498991796', 48),
(23, 'M', 'ROWLAND', 'Koch', '676 Oliver Street, Kraemer, Federated States Of Micronesia', NULL, 'West Virginia', '52228', '1998-05-18', 'Puerto Rico', '15879675253', 63),
(24, 'M', 'COOLEY', 'Matthews', '610 Arlington Avenue, Kennedyville, Hawaii', NULL, 'Virginia', '57187', '2003-05-13', 'Vermont', '12165901177', 35),
(25, 'M', 'PENNINGTON', 'Robbins', '101 Falmouth Street, Unionville, Arizona', NULL, 'South Carolina', '16649', '2012-09-12', 'New Mexico', '13627814148', 50),
(26, 'M', 'FARLEY', 'Austin', '869 Duffield Street, Rivers, Mississippi', NULL, 'Virgin Islands', '41659', '2002-08-03', 'Wyoming', '19094300308', 8),
(27, 'M', 'VELAZQUEZ', 'Winifred', '594 Rock Street, Fairacres, Pennsylvania', NULL, 'Idaho', '99838', '1981-06-30', 'North Carolina', '15647563918', 24),
(28, 'F', 'WALLACE', 'Frost', '135 Sapphire Street, Tolu, Rhode Island', NULL, 'Florida', '85278', '2007-11-12', 'California', '25913410982', 39),
(29, 'M', 'STANLEY', 'Hood', '833 Fountain Avenue, Moraida, Indiana', NULL, 'Montana', '96419', '2006-08-16', 'Palau', '17946621124', 26),
(30, 'M', 'GILES', 'Maggie', '643 Joval Court, Trail, American Samoa', NULL, 'Wisconsin', '48204', '2012-03-04', 'Michigan', '10662686180', 26),
(31, 'F', 'ESPINOZA', 'Tamara', '371 Ralph Avenue, Cuylerville, Tennessee', NULL, 'Delaware', '07341', '2008-08-10', 'Connecticut', '20083172261', 26),
(32, 'F', 'HOLDER', 'Pena', '712 Channel Avenue, Richmond, Guam', NULL, 'Louisiana', '72630', '2013-06-17', 'Northern Mariana Islands', '29005097826', 65),
(33, 'M', 'STOKES', 'Strong', '389 Dank Court, Temperanceville, Illinois', NULL, 'Oklahoma', '19213', '1924-04-09', 'Alaska', '14386411303', 82),
(34, 'M', 'PENA', 'Pamela', '979 Dumont Avenue, Stollings, New York', NULL, 'Nevada', '01244', '2008-09-06', 'Minnesota', '19329398624', 50),
(35, 'F', 'LEON', 'Allen', '899 Nevins Street, Fedora, Colorado', NULL, 'Alabama', '14863', '2015-05-10', 'Kentucky', '20535405226', 52),
(36, 'M', 'STOUT', 'Gamble', '238 Oceanview Avenue, Graball, Missouri', NULL, 'Kansas', '35626', '2011-12-13', 'Ohio', '16717569080', 67),
(37, 'M', 'BUTLER', 'Shawn', '563 Interborough Parkway, Lupton, Nebraska', NULL, 'Maryland', '82759', '1953-09-09', 'Maine', '18681124800', 45),
(38, 'F', 'HENDRICKS', 'Ayala', '839 Navy Street, Grahamtown, Georgia', NULL, 'District Of Columbia', '60566', '2004-07-12', 'Washington', '29995060639', 48),
(39, 'M', 'MAYO', 'Hicks', '626 Wilson Street, Noxen, Oregon', NULL, 'New Jersey', '87938', '2002-10-26', 'Iowa', '11993094532', 45),
(40, 'M', 'ATKINS', 'Cecelia', '210 Humboldt Street, Elbert, North Dakota', NULL, 'Texas', '17198', '2002-08-06', 'New Hampshire', '15111976539', 49),
(41, 'F', 'SUMMERS', 'Pauline', '550 Lorimer Street, Hailesboro, South Dakota', NULL, 'Arkansas', '95004', '1958-10-05', 'Marshall Islands', '28350963212', 47),
(42, 'F', 'GREER', 'Shelly', '469 Livonia Avenue, Lodoga, Massachusetts', NULL, 'Federated States Of Micronesia', '30292', '2001-01-30', 'West Virginia', '21326809626', 67),
(43, 'F', 'NIEVES', 'Wilma', '450 Guider Avenue, Selma, Puerto Rico', NULL, 'Hawaii', '39647', '1917-02-04', 'Virginia', '27216034661', 5),
(44, 'F', 'WALLER', 'Duncan', '255 Blake Court, Freetown, Vermont', NULL, 'Arizona', '48683', '2008-03-07', 'South Carolina', '25345198647', 36),
(45, 'M', 'VINCENT', 'Glenna', '727 Leonora Court, Tryon, New Mexico', NULL, 'Mississippi', '55687', '2009-10-09', 'Virgin Islands', '10271387742', 16),
(46, 'F', 'WILKERSON', 'Kelley', '304 Bleecker Street, Concho, Wyoming', NULL, 'Pennsylvania', '30593', '2004-10-12', 'Idaho', '20837368947', 76),
(47, 'M', 'CHAVEZ', 'Carolina', '620 Cumberland Street, Greer, North Carolina', NULL, 'Rhode Island', '72334', '1996-06-02', 'Florida', '13128264581', 39),
(48, 'F', 'CORTEZ', 'Donaldson', '654 Diamond Street, Bonanza, California', NULL, 'Indiana', '67633', '1936-05-13', 'Montana', '20450513660', 5),
(49, 'M', 'WHITAKER', 'Geraldine', '248 Louisiana Avenue, Hobucken, Palau', NULL, 'American Samoa', '19680', '1912-01-11', 'Wisconsin', '14501409312', 71),
(50, 'F', 'WILSON', 'Isabelle', '319 Stryker Street, Henrietta, Michigan', NULL, 'Tennessee', '75542', '2013-09-30', 'Delaware', '21523135649', 93),
(51, 'F', 'KLINE', 'Shirley', '325 Newel Street, Retsof, Connecticut', NULL, 'Guam', '67214', '2006-04-28', 'Louisiana', '29829440387', 97),
(52, 'F', 'CROSBY', 'Sweet', '406 Dekalb Avenue, Nadine, Northern Mariana Islands', NULL, 'Illinois', '18491', '2002-10-02', 'Oklahoma', '22799689361', 15),
(53, 'M', 'PRUITT', 'Bette', '140 Voorhies Avenue, Weedville, Alaska', NULL, 'New York', '73961', '1961-11-01', 'Nevada', '11917517213', 59),
(54, 'F', 'LARSEN', 'Julianne', '706 Tiffany Place, Eagleville, Minnesota', NULL, 'Colorado', '39520', '1984-01-12', 'Alabama', '29343266278', 29),
(55, 'F', 'NICHOLS', 'Mckay', '383 Dewey Place, Lithium, Kentucky', NULL, 'Missouri', '20493', '1929-07-17', 'Kansas', '21719339678', 47),
(56, 'M', 'REEVES', 'Vasquez', '164 Cozine Avenue, Tecolotito, Ohio', NULL, 'Nebraska', '64893', '2009-06-25', 'Maryland', '16427456557', 40),
(57, 'M', 'HERRING', 'Finch', '798 Albemarle Road, Gouglersville, Maine', NULL, 'Georgia', '58812', '1957-06-18', 'District Of Columbia', '13122477225', 24),
(58, 'M', 'HOLLOWAY', 'Cummings', '522 Howard Alley, Escondida, Washington', NULL, 'Oregon', '62194', '1960-09-09', 'New Jersey', '19596957459', 89),
(59, 'M', 'MILLER', 'Oliver', '273 Lenox Road, Norwood, Iowa', NULL, 'North Dakota', '62699', '1932-03-25', 'Texas', '19968426193', 57),
(60, 'M', 'CAMPOS', 'Hart', '787 Polhemus Place, Motley, New Hampshire', NULL, 'South Dakota', '77516', '2007-12-21', 'Arkansas', '17253462074', 31),
(61, 'M', 'CASE', 'Henson', '174 Stillwell Place, Mulino, Marshall Islands', NULL, 'Massachusetts', '85870', '2001-09-11', 'Federated States Of Micronesia', '12489367510', 96),
(62, 'M', 'HANSEN', 'Melisa', '349 Berriman Street, Shasta, West Virginia', NULL, 'Puerto Rico', '48480', '2000-12-22', 'Hawaii', '12589313144', 6),
(63, 'F', 'DALE', 'Jean', '169 Bay Parkway, Mayfair, Virginia', NULL, 'Vermont', '98518', '2009-06-09', 'Arizona', '22810920517', 86),
(64, 'F', 'GONZALEZ', 'Combs', '374 Merit Court, Sperryville, South Carolina', NULL, 'New Mexico', '59695', '2013-05-27', 'Mississippi', '20990109001', 61),
(65, 'M', 'SWEENEY', 'Edith', '995 Maple Avenue, Ilchester, Virgin Islands', NULL, 'Wyoming', '67276', '2007-02-02', 'Pennsylvania', '16022894937', 70),
(66, 'F', 'STRONG', 'Jacquelyn', '626 Hazel Court, Allensworth, Idaho', NULL, 'North Carolina', '67826', '2005-07-12', 'Rhode Island', '20684605971', 56),
(67, 'F', 'RIVERA', 'Leigh', '708 Quay Street, Hachita, Florida', NULL, 'California', '91928', '2005-12-05', 'Indiana', '29628059742', 33),
(68, 'F', 'MYERS', 'Gladys', '141 Heyward Street, Darbydale, Montana', NULL, 'Palau', '84636', '1969-09-14', 'American Samoa', '28694761131', 40),
(69, 'F', 'KELLER', 'Terry', '170 Hanover Place, Boykin, Wisconsin', NULL, 'Michigan', '78173', '2014-01-01', 'Tennessee', '26102225068', 22),
(70, 'M', 'MAY', 'Snyder', '854 Orange Street, Stouchsburg, Delaware', NULL, 'Connecticut', '55484', '1936-10-14', 'Guam', '16217199153', 75),
(71, 'M', 'DOTSON', 'Joanna', '976 Albany Avenue, Saranap, Louisiana', NULL, 'Northern Mariana Islands', '88021', '2003-04-25', 'Illinois', '18490418466', 58),
(72, 'F', 'CRANE', 'Sampson', '574 Summit Street, Johnsonburg, Oklahoma', NULL, 'Alaska', '09843', '2013-01-22', 'New York', '27655744344', 58),
(73, 'M', 'ROBERTS', 'Elizabeth', '679 Highland Place, Riviera, Nevada', NULL, 'Minnesota', '28575', '1934-06-02', 'Colorado', '19433331796', 8),
(74, 'F', 'DELANEY', 'Gross', '467 Butler Place, Aurora, Alabama', NULL, 'Kentucky', '69364', '2005-01-08', 'Missouri', '22011388800', 46),
(75, 'M', 'ROBERSON', 'Claire', '792 Nichols Avenue, Roulette, Kansas', NULL, 'Ohio', '01221', '1919-11-19', 'Nebraska', '16305786338', 80),
(76, 'F', 'CONRAD', 'Tammi', '621 Crystal Street, Newkirk, Maryland', NULL, 'Maine', '03729', '2010-05-19', 'Georgia', '25770649159', 23),
(77, 'F', 'ERICKSON', 'Grace', '736 Commerce Street, Beechmont, District Of Columbia', NULL, 'Washington', '32188', '2002-08-09', 'Oregon', '23105547041', 99),
(78, 'F', 'STEWART', 'Alston', '807 Empire Boulevard, Keyport, New Jersey', NULL, 'Iowa', '73784', '1923-04-03', 'North Dakota', '27009664661', 17),
(79, 'M', 'RIOS', 'Terri', '462 Fanchon Place, Zeba, Texas', NULL, 'New Hampshire', '50920', '2012-12-10', 'South Dakota', '13800615485', 3),
(80, 'F', 'BOND', 'Spence', '803 Amherst Street, Rosine, Arkansas', NULL, 'Marshall Islands', '11222', '1975-07-18', 'Massachusetts', '23767781414', 77),
(81, 'M', 'BARTON', 'Blake', '636 Prince Street, Mammoth, Federated States Of Micronesia', NULL, 'West Virginia', '17295', '2014-09-29', 'Puerto Rico', '10219535739', 22),
(82, 'M', 'VANG', 'Monica', '691 Gerry Street, Toftrees, Hawaii', NULL, 'Virginia', '17720', '2006-07-08', 'Vermont', '19231014062', 41),
(83, 'F', 'FIELDS', 'Giles', '189 Sullivan Place, Hilltop, Arizona', NULL, 'South Carolina', '93234', '1945-10-11', 'New Mexico', '24846926528', 75),
(84, 'M', 'CLAY', 'Dalton', '375 Fay Court, Greensburg, Mississippi', NULL, 'Virgin Islands', '15908', '1939-12-22', 'Wyoming', '19933111163', 24),
(85, 'M', 'WEEKS', 'Tonya', '411 Milton Street, Valmy, Pennsylvania', NULL, 'Idaho', '64798', '2004-02-08', 'North Carolina', '17176317887', 24),
(86, 'F', 'WALTER', 'Sanford', '984 Rapelye Street, Oasis, Rhode Island', NULL, 'Florida', '19871', '2007-02-03', 'California', '22983447225', 85),
(87, 'M', 'SCHWARTZ', 'Mae', '740 Kossuth Place, Tyro, Indiana', NULL, 'Montana', '56876', '2010-11-17', 'Palau', '18050339720', 8),
(88, 'F', 'HILL', 'Alyson', '935 Bay Avenue, Neibert, American Samoa', NULL, 'Wisconsin', '81361', '2006-11-22', 'Michigan', '24102999369', 37),
(89, 'F', 'BAKER', 'Judy', '159 Kenilworth Place, Washington, Tennessee', NULL, 'Delaware', '23849', '2012-11-08', 'Connecticut', '28124601703', 92),
(90, 'F', 'VALDEZ', 'Phelps', '207 Grant Avenue, Buxton, Guam', NULL, 'Louisiana', '39088', '1948-10-28', 'Northern Mariana Islands', '23363949354', 18),
(91, 'M', 'TERRY', 'Bernadine', '126 Cook Street, Drummond, Illinois', NULL, 'Oklahoma', '82875', '1902-12-13', 'Alaska', '10607274186', 54),
(92, 'F', 'COFFEY', 'Mabel', '242 Dupont Street, Wiscon, New York', NULL, 'Nevada', '34688', '2015-10-18', 'Minnesota', '20291563081', 95),
(93, 'F', 'TODD', 'Lucy', '158 Jardine Place, Bowie, Colorado', NULL, 'Alabama', '84196', '2011-01-08', 'Kentucky', '29773564480', 24),
(94, 'F', 'MENDEZ', 'Joann', '584 Kiely Place, Frizzleburg, Missouri', NULL, 'Kansas', '80528', '2007-04-19', 'Ohio', '22504705446', 47),
(95, 'F', 'KIRKLAND', 'Patrice', '924 Bond Street, Katonah, Nebraska', NULL, 'Maryland', '56940', '1972-03-21', 'Maine', '25277175911', 34),
(96, 'F', 'NASH', 'Sexton', '323 Coventry Road, Spelter, Georgia', NULL, 'District Of Columbia', '74403', '1994-03-26', 'Washington', '20857808066', 100),
(97, 'M', 'FLORES', 'Yvonne', '606 Beacon Court, Westwood, Oregon', NULL, 'New Jersey', '17963', '1977-08-10', 'Iowa', '10912788354', 81),
(98, 'F', 'IRWIN', 'Helene', '747 Martense Street, Lafferty, North Dakota', NULL, 'Texas', '00597', '1953-06-21', 'New Hampshire', '21111493296', 96),
(99, 'F', 'JACOBSON', 'Wendi', '482 Poly Place, Veyo, South Dakota', NULL, 'Arkansas', '54428', '1980-12-11', 'Marshall Islands', '20915062532', 69),
(100, 'F', 'RICH', 'Guerra', '191 Hart Street, Teasdale, Massachusetts', NULL, 'Federated States Of Micronesia', '67771', '2001-05-16', 'West Virginia', '24748914281', 71);
2015-12-03 08:54:20 +00:00
-- --------------------------------------------------------
--
-- Structure de la table `RDV`
--
CREATE TABLE `RDV` (
2015-12-03 08:54:20 +00:00
`Id` int(11) NOT NULL,
`DateRDV` datetime DEFAULT NULL,
2015-12-03 08:54:20 +00:00
`Duree` time DEFAULT NULL,
`Patient_Id` int(11) NOT NULL,
`Medecin_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Contenu de la table `RDV`
2015-12-03 08:54:20 +00:00
--
INSERT INTO `RDV` (`Id`, `DateRDV`, `Duree`, `Patient_Id`, `Medecin_id`) VALUES
(1, '2015-06-08 11:33:43', '01:00:00', 14, 60),
(2, '2015-04-04 04:22:43', '01:00:00', 9, 15),
(3, '2015-02-08 06:05:29', '01:00:00', 63, 2),
(4, '2015-04-13 08:48:17', '00:30:00', 3, 40),
(5, '2015-10-23 08:01:11', '01:00:00', 58, 74),
(6, '2015-01-02 09:51:57', '00:30:00', 33, 71),
(7, '2015-09-17 11:06:44', '01:00:00', 21, 69),
(8, '2015-07-08 03:55:22', '00:30:00', 18, 41),
(9, '2015-10-18 03:25:50', '01:00:00', 23, 70),
(10, '2015-01-29 09:21:39', '00:30:00', 82, 8),
(11, '2015-08-23 02:57:06', '00:30:00', 13, 25),
(12, '2015-11-30 05:11:44', '01:00:00', 20, 77),
(13, '2015-06-28 09:08:39', '00:30:00', 49, 82),
(14, '2015-06-08 02:00:35', '00:30:00', 93, 13),
(15, '2015-03-01 02:39:30', '01:00:00', 28, 26),
(16, '2015-09-24 01:02:24', '00:30:00', 56, 76),
(17, '2015-09-06 11:13:48', '01:00:00', 39, 97),
(18, '2015-01-15 03:36:46', '00:30:00', 46, 78),
(19, '2015-06-26 09:04:07', '01:00:00', 97, 55),
(20, '2015-07-01 08:27:26', '01:00:00', 22, 50),
(21, '2015-02-08 11:50:46', '00:30:00', 18, 34),
(22, '2015-01-29 03:27:30', '01:00:00', 14, 58),
(23, '2015-03-16 01:57:19', '00:30:00', 52, 4),
(24, '2015-09-21 05:49:59', '00:30:00', 11, 14),
(25, '2015-08-09 03:58:24', '00:30:00', 91, 29),
(26, '2015-02-04 06:35:51', '00:30:00', 29, 62),
(27, '2015-11-04 09:18:35', '00:30:00', 99, 87),
(28, '2015-05-02 04:25:22', '00:30:00', 2, 50),
(29, '2015-11-29 02:33:10', '01:00:00', 51, 89),
(30, '2015-10-15 07:02:24', '01:00:00', 10, 8),
(31, '2015-04-23 08:57:53', '00:30:00', 65, 35),
(32, '2015-02-22 04:17:11', '01:00:00', 35, 82),
(33, '2015-04-04 07:48:57', '00:30:00', 76, 53),
(34, '2015-09-18 07:48:07', '00:30:00', 94, 19),
(35, '2015-02-15 07:25:06', '01:00:00', 69, 44),
(36, '2015-06-08 04:25:39', '01:00:00', 15, 88),
(37, '2015-11-24 01:33:30', '01:00:00', 84, 20),
(38, '2015-07-11 04:17:24', '01:00:00', 30, 78),
(39, '2015-08-12 10:59:53', '00:30:00', 61, 95),
(40, '2015-09-19 05:08:41', '00:30:00', 11, 23),
(41, '2015-09-29 07:56:16', '00:30:00', 75, 86),
(42, '2015-03-22 01:07:22', '00:30:00', 83, 23),
(43, '2015-06-11 06:05:41', '01:00:00', 89, 20),
(44, '2015-03-17 04:28:43', '01:00:00', 77, 88),
(45, '2015-11-27 06:14:03', '01:00:00', 27, 54),
(46, '2015-03-07 09:38:22', '01:00:00', 2, 4),
(47, '2015-02-02 01:45:32', '00:30:00', 36, 60),
(48, '2015-06-18 04:52:09', '01:00:00', 69, 99),
(49, '2015-06-24 11:53:34', '01:00:00', 89, 40),
(50, '2015-10-21 04:19:14', '01:00:00', 85, 76),
(51, '2015-04-14 09:14:08', '00:30:00', 73, 48),
(52, '2015-04-18 09:11:32', '00:30:00', 90, 11),
(53, '2015-08-23 02:03:16', '00:30:00', 17, 57),
(54, '2015-05-03 02:25:11', '00:30:00', 21, 63),
(55, '2015-08-07 09:12:44', '00:30:00', 97, 92),
(56, '2015-05-09 06:18:46', '00:30:00', 21, 32),
(57, '2015-09-10 10:26:08', '00:30:00', 9, 6),
(58, '2015-09-06 11:38:09', '00:30:00', 26, 48),
(59, '2015-07-22 04:18:29', '01:00:00', 81, 90),
(60, '2015-11-29 12:25:38', '01:00:00', 91, 2),
(61, '2015-07-22 05:27:02', '01:00:00', 92, 27),
(62, '2015-02-12 09:02:35', '00:30:00', 50, 35),
(63, '2015-11-07 04:16:19', '01:00:00', 98, 35),
(64, '2015-11-20 09:12:30', '01:00:00', 22, 57),
(65, '2015-11-13 09:09:55', '00:30:00', 98, 69),
(66, '2015-08-04 07:56:59', '00:30:00', 88, 44),
(67, '2015-07-15 07:32:15', '01:00:00', 72, 59),
(68, '2015-05-26 07:16:43', '01:00:00', 22, 57),
(69, '2015-03-08 05:21:56', '01:00:00', 95, 19),
(70, '2015-01-12 02:11:24', '00:30:00', 51, 72),
(71, '2015-11-29 08:22:29', '01:00:00', 95, 56),
(72, '2015-10-09 06:50:11', '01:00:00', 53, 5),
(73, '2015-01-09 04:59:41', '01:00:00', 9, 44),
(74, '2015-03-06 01:45:26', '00:30:00', 50, 90),
(75, '2015-08-20 07:20:01', '00:30:00', 70, 60),
(76, '2015-08-08 03:18:32', '01:00:00', 34, 23),
(77, '2015-07-07 05:49:03', '00:30:00', 100, 97),
(78, '2015-05-14 12:17:01', '01:00:00', 37, 4),
(79, '2015-05-26 02:31:26', '00:30:00', 26, 92),
(80, '2015-07-10 01:06:31', '00:30:00', 37, 19),
(81, '2015-02-12 06:48:08', '01:00:00', 26, 36),
(82, '2015-04-04 09:58:14', '01:00:00', 56, 51),
(83, '2015-09-09 11:00:38', '00:30:00', 58, 60),
(84, '2015-04-07 06:46:08', '01:00:00', 6, 18),
(85, '2015-12-07 04:20:04', '01:00:00', 64, 6),
(86, '2015-09-28 02:43:55', '01:00:00', 57, 66),
(87, '2015-08-26 12:20:03', '01:00:00', 27, 36),
(88, '2015-09-06 08:31:43', '00:30:00', 71, 80),
(89, '2015-04-21 08:18:20', '00:30:00', 22, 30),
(90, '2015-08-13 11:00:42', '00:30:00', 10, 72),
(91, '2015-05-18 01:40:59', '01:00:00', 2, 78),
(92, '2015-11-15 05:32:12', '01:00:00', 94, 77),
(93, '2015-02-27 03:23:52', '01:00:00', 2, 71),
(94, '2015-11-07 04:56:09', '00:30:00', 96, 52),
(95, '2015-07-20 10:32:31', '00:30:00', 57, 38),
(96, '2015-04-09 06:30:20', '00:30:00', 91, 67),
(97, '2015-10-20 04:25:11', '00:30:00', 56, 98),
(98, '2015-11-11 08:29:45', '00:30:00', 88, 39),
(99, '2015-10-21 07:55:43', '00:30:00', 97, 6),
(100, '2015-07-11 11:02:43', '01:00:00', 7, 22);
2015-12-03 08:54:20 +00:00
--
-- Index pour les tables exportées
--
--
-- Index pour la table `Medecin`
--
ALTER TABLE `Medecin`
ADD PRIMARY KEY (`Id`),
ADD UNIQUE KEY `id_UNIQUE` (`Id`);
2015-12-03 08:54:20 +00:00
--
-- Index pour la table `Patient`
--
ALTER TABLE `Patient`
ADD PRIMARY KEY (`Id`),
ADD UNIQUE KEY `NumSecuriteSociale_UNIQUE` (`NumSecuriteSociale`),
ADD UNIQUE KEY `Id_UNIQUE` (`Id`),
ADD KEY `fk_Patient_Medecin_idx` (`MedecinTraitant`);
2015-12-03 08:54:20 +00:00
--
-- Index pour la table `RDV`
--
ALTER TABLE `RDV`
ADD PRIMARY KEY (`Id`),
ADD KEY `fk_RDV_Patient1_idx` (`Patient_Id`),
ADD KEY `fk_RDV_Medecin1_idx` (`Medecin_id`);
2015-12-03 08:54:20 +00:00
--
-- AUTO_INCREMENT pour les tables exportées
--
--
-- AUTO_INCREMENT pour la table `Medecin`
--
ALTER TABLE `Medecin`
MODIFY `Id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=101;
2015-12-03 08:54:20 +00:00
--
-- AUTO_INCREMENT pour la table `Patient`
--
ALTER TABLE `Patient`
MODIFY `Id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=101;
--
-- AUTO_INCREMENT pour la table `RDV`
--
ALTER TABLE `RDV`
MODIFY `Id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=101;
2015-12-03 08:54:20 +00:00
--
-- Contraintes pour les tables exportées
--
--
-- Contraintes pour la table `Patient`
--
ALTER TABLE `Patient`
ADD CONSTRAINT `fk_Patient_Medecin` FOREIGN KEY (`MedecinTraitant`) REFERENCES `Medecin` (`Id`) ON DELETE NO ACTION ON UPDATE NO ACTION;
2015-12-03 08:54:20 +00:00
--
-- Contraintes pour la table `RDV`
--
ALTER TABLE `RDV`
ADD CONSTRAINT `fk_RDV_Medecin1` FOREIGN KEY (`Medecin_id`) REFERENCES `Medecin` (`Id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
ADD CONSTRAINT `fk_RDV_Patient1` FOREIGN KEY (`Patient_Id`) REFERENCES `Patient` (`Id`) ON DELETE NO ACTION ON UPDATE NO ACTION;
2015-12-03 08:54:20 +00:00
/*!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 */;