projet-php/Docs/BDD.sql

358 lines
22 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 : Mar 08 Décembre 2015 à 08:30
-- Version du serveur : 10.1.9-MariaDB-log
-- Version de PHP : 7.0.0RC7
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` (
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,
`Adresse 2` varchar(255) DEFAULT NULL,
`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,
`Id` int(11) NOT NULL,
2015-12-03 08:54:20 +00:00
`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` (`Civilite`, `Nom`, `Prenom`, `Adresse`, `Adresse 2`, `Ville`, `CodePostal`, `DateNaissance`, `LieuNaissance`, `NumSecuriteSociale`, `Id`, `MedecinTraitant`) VALUES
('M', 'SILVA', 'Lena', '649 Banner Avenue, Tooleville, Iowa', NULL, 'North Dakota', '52882', '1911-09-13', 'Texas', '12698948371', 1, 33),
('F', 'KEMP', 'Clay', '807 Beayer Place, Linganore, New Hampshire', NULL, 'South Dakota', '61218', '2010-08-20', 'Arkansas', '20628078948', 2, 70),
('M', 'PAUL', 'Buck', '494 Macdougal Street, Chumuckla, Marshall Islands', NULL, 'Massachusetts', '68865', '1910-12-09', 'Federated States Of Micronesia', '15945373003', 3, 9),
('M', 'GARNER', 'Martina', '339 Frank Court, Defiance, West Virginia', NULL, 'Puerto Rico', '62671', '2008-10-01', 'Hawaii', '19329610967', 4, 66),
('F', 'BURCH', 'Chasity', '866 Clarendon Road, Cumminsville, Virginia', NULL, 'Vermont', '38435', '2012-06-25', 'Arizona', '27391164606', 5, 25),
('F', 'JEFFERSON', 'Shana', '175 Wyckoff Street, Trucksville, South Carolina', NULL, 'New Mexico', '85431', '2006-10-15', 'Mississippi', '26819094421', 6, 30),
('F', 'BLAKE', 'Arlene', '859 Debevoise Street, Russellville, Virgin Islands', NULL, 'Wyoming', '61926', '1966-06-18', 'Pennsylvania', '23960497083', 7, 93),
('F', 'DIAZ', 'Dawn', '273 Madison Street, Boonville, Idaho', NULL, 'North Carolina', '02209', '2006-10-04', 'Rhode Island', '27215823739', 8, 40),
('F', 'WHITLEY', 'Franco', '693 Horace Court, Rockbridge, Florida', NULL, 'California', '97479', '1927-06-07', 'Indiana', '29328474141', 9, 46),
('M', 'BUCK', 'Beck', '919 Cleveland Street, Barronett, Montana', NULL, 'Palau', '48585', '2012-12-09', 'American Samoa', '19699641707', 10, 67),
('M', 'COLE', 'Solomon', '412 Elizabeth Place, Bannock, Wisconsin', NULL, 'Michigan', '12693', '1935-04-15', 'Tennessee', '10678642104', 11, 89),
('M', 'VASQUEZ', 'Best', '335 Krier Place, Tedrow, Delaware', NULL, 'Connecticut', '32627', '2007-08-28', 'Guam', '19009855991', 12, 32),
('M', 'ROSS', 'Clark', '979 Celeste Court, Hessville, Louisiana', NULL, 'Northern Mariana Islands', '87310', '2007-06-27', 'Illinois', '11086416557', 13, 72),
('M', 'CHEN', 'Ida', '205 Malta Street, Camas, Oklahoma', NULL, 'Alaska', '14500', '1927-06-02', 'New York', '17998195070', 14, 35),
('F', 'BUCKLEY', 'Kathie', '415 Varick Street, Watchtower, Nevada', NULL, 'Minnesota', '87418', '2010-11-20', 'Colorado', '28577369272', 15, 29),
('F', 'FOX', 'Mitchell', '474 Navy Walk, Waterford, Alabama', NULL, 'Kentucky', '20730', '2008-12-13', 'Missouri', '23197712678', 16, 94),
('M', 'GOODMAN', 'Anthony', '526 Dodworth Street, Shawmut, Kansas', NULL, 'Ohio', '73624', '2000-11-21', 'Nebraska', '14355429029', 17, 87),
('M', 'SAWYER', 'Brigitte', '490 Ebony Court, Steinhatchee, Maryland', NULL, 'Maine', '90009', '1993-09-30', 'Georgia', '19496691291', 18, 12),
('F', 'CHRISTENSEN', 'Bates', '743 Middleton Street, Lowell, District Of Columbia', NULL, 'Washington', '43676', '2015-09-05', 'Oregon', '29308759372', 19, 84),
('M', 'TALLEY', 'Angela', '524 Wythe Avenue, Bawcomville, New Jersey', NULL, 'Iowa', '50898', '2003-10-30', 'North Dakota', '11465049462', 20, 43),
('F', 'COLEMAN', 'Logan', '238 Kent Street, Celeryville, Texas', NULL, 'New Hampshire', '06311', '2008-03-17', 'South Dakota', '28533965670', 21, 21),
('M', 'MCCULLOUGH', 'Newman', '199 Kane Place, Yogaville, Arkansas', NULL, 'Marshall Islands', '80883', '2002-07-04', 'Massachusetts', '13498991796', 22, 48),
('M', 'ROWLAND', 'Koch', '676 Oliver Street, Kraemer, Federated States Of Micronesia', NULL, 'West Virginia', '52228', '1998-05-18', 'Puerto Rico', '15879675253', 23, 63),
('M', 'COOLEY', 'Matthews', '610 Arlington Avenue, Kennedyville, Hawaii', NULL, 'Virginia', '57187', '2003-05-13', 'Vermont', '12165901177', 24, 35),
('M', 'PENNINGTON', 'Robbins', '101 Falmouth Street, Unionville, Arizona', NULL, 'South Carolina', '16649', '2012-09-12', 'New Mexico', '13627814148', 25, 50),
('M', 'FARLEY', 'Austin', '869 Duffield Street, Rivers, Mississippi', NULL, 'Virgin Islands', '41659', '2002-08-03', 'Wyoming', '19094300308', 26, 8),
('M', 'VELAZQUEZ', 'Winifred', '594 Rock Street, Fairacres, Pennsylvania', NULL, 'Idaho', '99838', '1981-06-30', 'North Carolina', '15647563918', 27, 24),
('F', 'WALLACE', 'Frost', '135 Sapphire Street, Tolu, Rhode Island', NULL, 'Florida', '85278', '2007-11-12', 'California', '25913410982', 28, 39),
('M', 'STANLEY', 'Hood', '833 Fountain Avenue, Moraida, Indiana', NULL, 'Montana', '96419', '2006-08-16', 'Palau', '17946621124', 29, 26),
('M', 'GILES', 'Maggie', '643 Joval Court, Trail, American Samoa', NULL, 'Wisconsin', '48204', '2012-03-04', 'Michigan', '10662686180', 30, 26),
('F', 'ESPINOZA', 'Tamara', '371 Ralph Avenue, Cuylerville, Tennessee', NULL, 'Delaware', '07341', '2008-08-10', 'Connecticut', '20083172261', 31, 26),
('F', 'HOLDER', 'Pena', '712 Channel Avenue, Richmond, Guam', NULL, 'Louisiana', '72630', '2013-06-17', 'Northern Mariana Islands', '29005097826', 32, 65),
('M', 'STOKES', 'Strong', '389 Dank Court, Temperanceville, Illinois', NULL, 'Oklahoma', '19213', '1924-04-09', 'Alaska', '14386411303', 33, 82),
('M', 'PENA', 'Pamela', '979 Dumont Avenue, Stollings, New York', NULL, 'Nevada', '01244', '2008-09-06', 'Minnesota', '19329398624', 34, 50),
('F', 'LEON', 'Allen', '899 Nevins Street, Fedora, Colorado', NULL, 'Alabama', '14863', '2015-05-10', 'Kentucky', '20535405226', 35, 52),
('M', 'STOUT', 'Gamble', '238 Oceanview Avenue, Graball, Missouri', NULL, 'Kansas', '35626', '2011-12-13', 'Ohio', '16717569080', 36, 67),
('M', 'BUTLER', 'Shawn', '563 Interborough Parkway, Lupton, Nebraska', NULL, 'Maryland', '82759', '1953-09-09', 'Maine', '18681124800', 37, 45),
('F', 'HENDRICKS', 'Ayala', '839 Navy Street, Grahamtown, Georgia', NULL, 'District Of Columbia', '60566', '2004-07-12', 'Washington', '29995060639', 38, 48),
('M', 'MAYO', 'Hicks', '626 Wilson Street, Noxen, Oregon', NULL, 'New Jersey', '87938', '2002-10-26', 'Iowa', '11993094532', 39, 45),
('M', 'ATKINS', 'Cecelia', '210 Humboldt Street, Elbert, North Dakota', NULL, 'Texas', '17198', '2002-08-06', 'New Hampshire', '15111976539', 40, 49),
('F', 'SUMMERS', 'Pauline', '550 Lorimer Street, Hailesboro, South Dakota', NULL, 'Arkansas', '95004', '1958-10-05', 'Marshall Islands', '28350963212', 41, 47),
('F', 'GREER', 'Shelly', '469 Livonia Avenue, Lodoga, Massachusetts', NULL, 'Federated States Of Micronesia', '30292', '2001-01-30', 'West Virginia', '21326809626', 42, 67),
('F', 'NIEVES', 'Wilma', '450 Guider Avenue, Selma, Puerto Rico', NULL, 'Hawaii', '39647', '1917-02-04', 'Virginia', '27216034661', 43, 5),
('F', 'WALLER', 'Duncan', '255 Blake Court, Freetown, Vermont', NULL, 'Arizona', '48683', '2008-03-07', 'South Carolina', '25345198647', 44, 36),
('M', 'VINCENT', 'Glenna', '727 Leonora Court, Tryon, New Mexico', NULL, 'Mississippi', '55687', '2009-10-09', 'Virgin Islands', '10271387742', 45, 16),
('F', 'WILKERSON', 'Kelley', '304 Bleecker Street, Concho, Wyoming', NULL, 'Pennsylvania', '30593', '2004-10-12', 'Idaho', '20837368947', 46, 76),
('M', 'CHAVEZ', 'Carolina', '620 Cumberland Street, Greer, North Carolina', NULL, 'Rhode Island', '72334', '1996-06-02', 'Florida', '13128264581', 47, 39),
('F', 'CORTEZ', 'Donaldson', '654 Diamond Street, Bonanza, California', NULL, 'Indiana', '67633', '1936-05-13', 'Montana', '20450513660', 48, 5),
('M', 'WHITAKER', 'Geraldine', '248 Louisiana Avenue, Hobucken, Palau', NULL, 'American Samoa', '19680', '1912-01-11', 'Wisconsin', '14501409312', 49, 71),
('F', 'WILSON', 'Isabelle', '319 Stryker Street, Henrietta, Michigan', NULL, 'Tennessee', '75542', '2013-09-30', 'Delaware', '21523135649', 50, 93),
('F', 'KLINE', 'Shirley', '325 Newel Street, Retsof, Connecticut', NULL, 'Guam', '67214', '2006-04-28', 'Louisiana', '29829440387', 51, 97),
('F', 'CROSBY', 'Sweet', '406 Dekalb Avenue, Nadine, Northern Mariana Islands', NULL, 'Illinois', '18491', '2002-10-02', 'Oklahoma', '22799689361', 52, 15),
('M', 'PRUITT', 'Bette', '140 Voorhies Avenue, Weedville, Alaska', NULL, 'New York', '73961', '1961-11-01', 'Nevada', '11917517213', 53, 59),
('F', 'LARSEN', 'Julianne', '706 Tiffany Place, Eagleville, Minnesota', NULL, 'Colorado', '39520', '1984-01-12', 'Alabama', '29343266278', 54, 29),
('F', 'NICHOLS', 'Mckay', '383 Dewey Place, Lithium, Kentucky', NULL, 'Missouri', '20493', '1929-07-17', 'Kansas', '21719339678', 55, 47),
('M', 'REEVES', 'Vasquez', '164 Cozine Avenue, Tecolotito, Ohio', NULL, 'Nebraska', '64893', '2009-06-25', 'Maryland', '16427456557', 56, 40),
('M', 'HERRING', 'Finch', '798 Albemarle Road, Gouglersville, Maine', NULL, 'Georgia', '58812', '1957-06-18', 'District Of Columbia', '13122477225', 57, 24),
('M', 'HOLLOWAY', 'Cummings', '522 Howard Alley, Escondida, Washington', NULL, 'Oregon', '62194', '1960-09-09', 'New Jersey', '19596957459', 58, 89),
('M', 'MILLER', 'Oliver', '273 Lenox Road, Norwood, Iowa', NULL, 'North Dakota', '62699', '1932-03-25', 'Texas', '19968426193', 59, 57),
('M', 'CAMPOS', 'Hart', '787 Polhemus Place, Motley, New Hampshire', NULL, 'South Dakota', '77516', '2007-12-21', 'Arkansas', '17253462074', 60, 31),
('M', 'CASE', 'Henson', '174 Stillwell Place, Mulino, Marshall Islands', NULL, 'Massachusetts', '85870', '2001-09-11', 'Federated States Of Micronesia', '12489367510', 61, 96),
('M', 'HANSEN', 'Melisa', '349 Berriman Street, Shasta, West Virginia', NULL, 'Puerto Rico', '48480', '2000-12-22', 'Hawaii', '12589313144', 62, 6),
('F', 'DALE', 'Jean', '169 Bay Parkway, Mayfair, Virginia', NULL, 'Vermont', '98518', '2009-06-09', 'Arizona', '22810920517', 63, 86),
('F', 'GONZALEZ', 'Combs', '374 Merit Court, Sperryville, South Carolina', NULL, 'New Mexico', '59695', '2013-05-27', 'Mississippi', '20990109001', 64, 61),
('M', 'SWEENEY', 'Edith', '995 Maple Avenue, Ilchester, Virgin Islands', NULL, 'Wyoming', '67276', '2007-02-02', 'Pennsylvania', '16022894937', 65, 70),
('F', 'STRONG', 'Jacquelyn', '626 Hazel Court, Allensworth, Idaho', NULL, 'North Carolina', '67826', '2005-07-12', 'Rhode Island', '20684605971', 66, 56),
('F', 'RIVERA', 'Leigh', '708 Quay Street, Hachita, Florida', NULL, 'California', '91928', '2005-12-05', 'Indiana', '29628059742', 67, 33),
('F', 'MYERS', 'Gladys', '141 Heyward Street, Darbydale, Montana', NULL, 'Palau', '84636', '1969-09-14', 'American Samoa', '28694761131', 68, 40),
('F', 'KELLER', 'Terry', '170 Hanover Place, Boykin, Wisconsin', NULL, 'Michigan', '78173', '2014-01-01', 'Tennessee', '26102225068', 69, 22),
('M', 'MAY', 'Snyder', '854 Orange Street, Stouchsburg, Delaware', NULL, 'Connecticut', '55484', '1936-10-14', 'Guam', '16217199153', 70, 75),
('M', 'DOTSON', 'Joanna', '976 Albany Avenue, Saranap, Louisiana', NULL, 'Northern Mariana Islands', '88021', '2003-04-25', 'Illinois', '18490418466', 71, 58),
('F', 'CRANE', 'Sampson', '574 Summit Street, Johnsonburg, Oklahoma', NULL, 'Alaska', '09843', '2013-01-22', 'New York', '27655744344', 72, 58),
('M', 'ROBERTS', 'Elizabeth', '679 Highland Place, Riviera, Nevada', NULL, 'Minnesota', '28575', '1934-06-02', 'Colorado', '19433331796', 73, 8),
('F', 'DELANEY', 'Gross', '467 Butler Place, Aurora, Alabama', NULL, 'Kentucky', '69364', '2005-01-08', 'Missouri', '22011388800', 74, 46),
('M', 'ROBERSON', 'Claire', '792 Nichols Avenue, Roulette, Kansas', NULL, 'Ohio', '01221', '1919-11-19', 'Nebraska', '16305786338', 75, 80),
('F', 'CONRAD', 'Tammi', '621 Crystal Street, Newkirk, Maryland', NULL, 'Maine', '03729', '2010-05-19', 'Georgia', '25770649159', 76, 23),
('F', 'ERICKSON', 'Grace', '736 Commerce Street, Beechmont, District Of Columbia', NULL, 'Washington', '32188', '2002-08-09', 'Oregon', '23105547041', 77, 99),
('F', 'STEWART', 'Alston', '807 Empire Boulevard, Keyport, New Jersey', NULL, 'Iowa', '73784', '1923-04-03', 'North Dakota', '27009664661', 78, 17),
('M', 'RIOS', 'Terri', '462 Fanchon Place, Zeba, Texas', NULL, 'New Hampshire', '50920', '2012-12-10', 'South Dakota', '13800615485', 79, 3),
('F', 'BOND', 'Spence', '803 Amherst Street, Rosine, Arkansas', NULL, 'Marshall Islands', '11222', '1975-07-18', 'Massachusetts', '23767781414', 80, 77),
('M', 'BARTON', 'Blake', '636 Prince Street, Mammoth, Federated States Of Micronesia', NULL, 'West Virginia', '17295', '2014-09-29', 'Puerto Rico', '10219535739', 81, 22),
('M', 'VANG', 'Monica', '691 Gerry Street, Toftrees, Hawaii', NULL, 'Virginia', '17720', '2006-07-08', 'Vermont', '19231014062', 82, 41),
('F', 'FIELDS', 'Giles', '189 Sullivan Place, Hilltop, Arizona', NULL, 'South Carolina', '93234', '1945-10-11', 'New Mexico', '24846926528', 83, 75),
('M', 'CLAY', 'Dalton', '375 Fay Court, Greensburg, Mississippi', NULL, 'Virgin Islands', '15908', '1939-12-22', 'Wyoming', '19933111163', 84, 24),
('M', 'WEEKS', 'Tonya', '411 Milton Street, Valmy, Pennsylvania', NULL, 'Idaho', '64798', '2004-02-08', 'North Carolina', '17176317887', 85, 24),
('F', 'WALTER', 'Sanford', '984 Rapelye Street, Oasis, Rhode Island', NULL, 'Florida', '19871', '2007-02-03', 'California', '22983447225', 86, 85),
('M', 'SCHWARTZ', 'Mae', '740 Kossuth Place, Tyro, Indiana', NULL, 'Montana', '56876', '2010-11-17', 'Palau', '18050339720', 87, 8),
('F', 'HILL', 'Alyson', '935 Bay Avenue, Neibert, American Samoa', NULL, 'Wisconsin', '81361', '2006-11-22', 'Michigan', '24102999369', 88, 37),
('F', 'BAKER', 'Judy', '159 Kenilworth Place, Washington, Tennessee', NULL, 'Delaware', '23849', '2012-11-08', 'Connecticut', '28124601703', 89, 92),
('F', 'VALDEZ', 'Phelps', '207 Grant Avenue, Buxton, Guam', NULL, 'Louisiana', '39088', '1948-10-28', 'Northern Mariana Islands', '23363949354', 90, 18),
('M', 'TERRY', 'Bernadine', '126 Cook Street, Drummond, Illinois', NULL, 'Oklahoma', '82875', '1902-12-13', 'Alaska', '10607274186', 91, 54),
('F', 'COFFEY', 'Mabel', '242 Dupont Street, Wiscon, New York', NULL, 'Nevada', '34688', '2015-10-18', 'Minnesota', '20291563081', 92, 95),
('F', 'TODD', 'Lucy', '158 Jardine Place, Bowie, Colorado', NULL, 'Alabama', '84196', '2011-01-08', 'Kentucky', '29773564480', 93, 24),
('F', 'MENDEZ', 'Joann', '584 Kiely Place, Frizzleburg, Missouri', NULL, 'Kansas', '80528', '2007-04-19', 'Ohio', '22504705446', 94, 47),
('F', 'KIRKLAND', 'Patrice', '924 Bond Street, Katonah, Nebraska', NULL, 'Maryland', '56940', '1972-03-21', 'Maine', '25277175911', 95, 34),
('F', 'NASH', 'Sexton', '323 Coventry Road, Spelter, Georgia', NULL, 'District Of Columbia', '74403', '1994-03-26', 'Washington', '20857808066', 96, 100),
('M', 'FLORES', 'Yvonne', '606 Beacon Court, Westwood, Oregon', NULL, 'New Jersey', '17963', '1977-08-10', 'Iowa', '10912788354', 97, 81),
('F', 'IRWIN', 'Helene', '747 Martense Street, Lafferty, North Dakota', NULL, 'Texas', '00597', '1953-06-21', 'New Hampshire', '21111493296', 98, 96),
('F', 'JACOBSON', 'Wendi', '482 Poly Place, Veyo, South Dakota', NULL, 'Arkansas', '54428', '1980-12-11', 'Marshall Islands', '20915062532', 99, 69),
('F', 'RICH', 'Guerra', '191 Hart Street, Teasdale, Massachusetts', NULL, 'Federated States Of Micronesia', '67771', '2001-05-16', 'West Virginia', '24748914281', 100, 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-12-08 08:28:12', '08:58:12', 2, 1),
(2, '2015-12-08 08:28:47', '00:30:00', 2, 1);
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=105;
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=105;
--
-- AUTO_INCREMENT pour la table `RDV`
--
ALTER TABLE `RDV`
MODIFY `Id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
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 */;