DB_normlizer / sql.sql
Cherryblade29's picture
Upload 4 files
615c11f verified
CREATE TABLE patients (
id INTEGER PRIMARY KEY ,
nom TEXT NOT NULL,
prenom TEXT NOT NULL,
age INTEGER NOT NULL,
sexe TEXT NOT NULL,
date_naissance TEXT NOT NULL,
maladies TEXT,
traitements TEXT
);
INSERT INTO patients ( nom, prenom, age, sexe, date_naissance, maladies, traitements) VALUES
( 'Dupont', 'Jean', 45, 'M', '1978-05-12', 'Hypertension, Diabète', 'Bêta-bloquants, Diurétiques, Régime alimentaire'),
( 'Martin', 'Claire', 38, 'F', '1985-02-28', 'Diabète de type 2, Obésité', 'Insuline, Conseils nutritionnels'),
( 'Bernard', 'Luc', 52, 'M', '1971-08-03', 'Asthme, Hypertension', 'Corticostéroïdes, Bêta-bloquants'),
( 'Dubois', 'Sophie', 29, 'F', '1996-07-19', 'Anxiété', 'Thérapie cognitive, Anxiolytiques'),
( 'Leroy', 'Marc', 60, 'M', '1963-11-30', 'Arthrite, Hypercholestérolémie', 'Anti-inflammatoires, Statines'),
( 'Moreau', 'Emma', 33, 'F', '1990-04-22', 'Migraines', 'Antidouleurs, Bêta-bloquants'),
( 'Robert', 'Paul', 47, 'M', '1976-09-15', 'Hypothyroïdie', 'Hormones thyroïdiennes'),
( 'Lefevre', 'Isabelle', 55, 'F', '1968-03-10', 'Hypercholestérolémie', 'Statines, Régime alimentaire'),
( 'Garcia', 'Antoine', 40, 'M', '1983-12-05', 'Obésité', 'Conseils nutritionnels, Activité physique'),
( 'Petit', 'Julie', 36, 'F', '1987-06-18', 'Insomnie', 'Thérapie comportementale, Hygiène du sommeil');