1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90
| /*==============================================================*/
/* Table : ANNEE */
/*==============================================================*/
create table ANNEE
(
ID_AN numeric(8,0) not null,
ANNEE numeric(8,0),
primary key (ID_AN)
);
/*==============================================================*/
/* Table : CENTRE */
/*==============================================================*/
create table CENTRE
(
ID_C numeric(8,0) not null,
NOM_CENTRE varchar(255),
primary key (ID_C)
);
/*==============================================================*/
/* Table : INDICATEUR */
/*==============================================================*/
create table INDICATEUR
(
ID_IND numeric(8,0) not null,
TITRE_IND varchar(30),
primary key (ID_IND)
);
/*==============================================================*/
/* Table : INTERVIEW */
/*==============================================================*/
create table INTERVIEW
(
ID_INTE numeric(8,0) not null,
ID_C numeric(8,0) not null,
ID_AN numeric(8,0) not null,
POIDS decimal,
ISO numeric(8,0),
primary key (ID_INTE)
);
/*==============================================================*/
/* Table : LIER */
/*==============================================================*/
create table LIER
(
ID_C numeric(8,0) not null,
ID_IND numeric(8,0) not null,
primary key (ID_C, ID_IND)
);
/*==============================================================*/
/* Table : PROPOSITION */
/*==============================================================*/
create table PROPOSITION
(
ID_P numeric(8,0) not null,
ID_Q numeric(8,0) not null,
TITRE_P varchar(255),
primary key (ID_P)
);
/*==============================================================*/
/* Table : QUESTIONS */
/*==============================================================*/
create table QUESTIONS
(
ID_Q numeric(8,0) not null,
ID_IND numeric(8,0) not null,
TITRE_Q varchar(255),
primary key (ID_Q)
);
/*==============================================================*/
/* Table : REPONDRE */
/*==============================================================*/
create table REPONDRE
(
ID_INTE numeric(8,0) not null,
ID_Q numeric(8,0) not null,
ID_P numeric(8,0) not null,
ID_REP numeric(8,0) not null,
REPONSE_OUVERTE numeric(8,0) not null,
primary key (ID_INTE, ID_Q, ID_P, ID_REP)
);
/*==============================================================*/
/* Table : REPONSES */
/*==============================================================*/
create table REPONSES
(
ID_REP numeric(8,0) not null,
TITRE_REPONSE varchar(25),
primary key (ID_REP)
); |
Partager