TRUNCATE table r_value_assoc;
TRUNCATE table r_input_val;
TRUNCATE table r_result_val;
TRUNCATE table r_input;
TRUNCATE table r_result;

-- Pour les devis
insert into r_input(name) values('VTE-ChaudType');insert into r_input_val(value, input_id, title) select '1', i.id, 'Chaudière gaz à condensation' from r_input i where i.name='VTE-ChaudType';insert into r_input_val(value, input_id, title) select '2', i.id, 'Chaudière gaz basse température' from r_input i where i.name='VTE-ChaudType';insert into r_input_val(value, input_id, title) select '3', i.id, 'Chaudière fioul à condensation' from r_input i where i.name='VTE-ChaudType';insert into r_input_val(value, input_id, title) select '4', i.id, 'Chaudière fioul basse température' from r_input i where i.name='VTE-ChaudType';insert into r_input_val(value, input_id, title) select '5', i.id, 'Chaudière bois' from r_input i where i.name='VTE-ChaudType';insert into r_input_val(value, input_id, title) select '6', i.id, 'Chaudière électrique' from r_input i where i.name='VTE-ChaudType';insert into r_input(name) values('VTE-InstallType');insert into r_input_val(value, input_id, title) select '1', i.id, '1ère Installation' from r_input i where i.name='VTE-InstallType';insert into r_input_val(value, input_id, title) select '2', i.id, 'Remplacement' from r_input i where i.name='VTE-InstallType';insert into r_input(name) values('VTE-Prest');insert into r_input_val(value, input_id, title) select '1', i.id, 'Fourniture et pose' from r_input i where i.name='VTE-Prest';insert into r_input_val(value, input_id, title) select '2', i.id, 'Pose seule' from r_input i where i.name='VTE-Prest';insert into r_input(name) values('VTE-SCH');insert into r_input(name) values('VTE-BAT');insert into r_input_val(value, input_id, title) select '1', i.id, 'Une maison individuelle' from r_input i where i.name='VTE-BAT';insert into r_input_val(value, input_id, title) select '2', i.id, 'Un appartement' from r_input i where i.name='VTE-BAT';insert into r_input_val(value, input_id, title) select '3', i.id, 'Autre' from r_input i where i.name='VTE-BAT';insert into r_input(name) values('VTE-ENCH');insert into r_input_val(value, input_id, title) select '1', i.id, 'Gaz de ville' from r_input i where i.name='VTE-ENCH';insert into r_input_val(value, input_id, title) select '2', i.id, 'Gaz propane' from r_input i where i.name='VTE-ENCH';insert into r_input_val(value, input_id, title) select '3', i.id, 'Fioul' from r_input i where i.name='VTE-ENCH';insert into r_input_val(value, input_id, title) select '4', i.id, 'Bois' from r_input i where i.name='VTE-ENCH';insert into r_input_val(value, input_id, title) select '5', i.id, 'Electrique' from r_input i where i.name='VTE-ENCH';insert into r_input_val(value, input_id, title) select '6', i.id, 'Je ne sais pas' from r_input i where i.name='VTE-ENCH';insert into r_input(name) values('VTE-SH');insert into r_input(name) values('VTE-Devis');insert into r_input_val(value, input_id, title) select '1', i.id, 'Aucun' from r_input i where i.name='VTE-Devis';insert into r_input_val(value, input_id, title) select '2', i.id, 'Un seul devis' from r_input i where i.name='VTE-Devis';insert into r_input_val(value, input_id, title) select '3', i.id, 'Plus d\'un devis reçu' from r_input i where i.name='VTE-Devis';insert into r_input(name) values('VTE-PacType');insert into r_input_val(value, input_id, title) select '1', i.id, 'Pompe à chaleur air-eau' from r_input i where i.name='VTE-PacType';insert into r_input_val(value, input_id, title) select '2', i.id, 'Pompe à chaleur eau-eau' from r_input i where i.name='VTE-PacType';insert into r_input_val(value, input_id, title) select '3', i.id, 'Pompe à chaleur air-air' from r_input i where i.name='VTE-PacType';insert into r_input_val(value, input_id, title) select '4', i.id, 'Pompe à chaleur géothermique' from r_input i where i.name='VTE-PacType';insert into r_input_val(value, input_id, title) select '5', i.id, 'Autre' from r_input i where i.name='VTE-PacType';insert into r_input(name) values('VTE-Garden');insert into r_input_val(value, input_id, title) select '1', i.id, 'Oui' from r_input i where i.name='VTE-Garden';insert into r_input_val(value, input_id, title) select '0', i.id, 'Non' from r_input i where i.name='VTE-Garden';insert into r_input(name) values('VTE-AICB');insert into r_input_val(value, input_id, title) select '1', i.id, 'Poêle' from r_input i where i.name='VTE-AICB';insert into r_input_val(value, input_id, title) select '2', i.id, 'Insert' from r_input i where i.name='VTE-AICB';insert into r_input_val(value, input_id, title) select '3', i.id, 'Cheminée' from r_input i where i.name='VTE-AICB';insert into r_input_val(value, input_id, title) select '4', i.id, 'Cuisinière' from r_input i where i.name='VTE-AICB';insert into r_input(name) values('VTE-Bois');insert into r_input_val(value, input_id, title) select '1', i.id, 'Buches' from r_input i where i.name='VTE-Bois';insert into r_input_val(value, input_id, title) select '2', i.id, 'Granulés' from r_input i where i.name='VTE-Bois';insert into r_input_val(value, input_id, title) select '3', i.id, 'Plaquette' from r_input i where i.name='VTE-Bois';insert into r_input_val(value, input_id, title) select '4', i.id, 'Pellets' from r_input i where i.name='VTE-Bois';insert into r_input_val(value, input_id, title) select '5', i.id, 'Je ne sais pas' from r_input i where i.name='VTE-Bois';insert into r_input(name) values('VTE-Room');insert into r_input(name) values('VTE-ParoiType');insert into r_input_val(value, input_id, title) select '1', i.id, 'Isolation des combles' from r_input i where i.name='VTE-ParoiType';insert into r_input_val(value, input_id, title) select '2', i.id, 'Isolation de la toiture' from r_input i where i.name='VTE-ParoiType';insert into r_input_val(value, input_id, title) select '3', i.id, 'Isolation des murs' from r_input i where i.name='VTE-ParoiType';insert into r_input_val(value, input_id, title) select '4', i.id, 'Isolation du plancher' from r_input i where i.name='VTE-ParoiType';insert into r_input(name) values('VTE-IsoComblesMethod');insert into r_input_val(value, input_id, title) select '1', i.id, 'Isolation Combles Aménagées' from r_input i where i.name='VTE-IsoComblesMethod';insert into r_input_val(value, input_id, title) select '2', i.id, 'Isolation Combles Non Aménagées' from r_input i where i.name='VTE-IsoComblesMethod';insert into r_input_val(value, input_id, title) select '3', i.id, 'Je ne sais pas' from r_input i where i.name='VTE-IsoComblesMethod';insert into r_input(name) values('VTE-Scombles');insert into r_input(name) values('VTE-IsoToitMethod');insert into r_input_val(value, input_id, title) select '1', i.id, 'Isolation de Toiture' from r_input i where i.name='VTE-IsoToitMethod';insert into r_input_val(value, input_id, title) select '2', i.id, 'Isolation de Toiture-terrasse' from r_input i where i.name='VTE-IsoToitMethod';insert into r_input_val(value, input_id, title) select '3', i.id, 'Je ne sais pas' from r_input i where i.name='VTE-IsoToitMethod';insert into r_input(name) values('VTE-Stoiture');insert into r_input(name) values('VTE-IsoMurMethod');insert into r_input_val(value, input_id, title) select '1', i.id, 'Par l\'intérieur' from r_input i where i.name='VTE-IsoMurMethod';insert into r_input_val(value, input_id, title) select '2', i.id, 'Par l\'extérieur' from r_input i where i.name='VTE-IsoMurMethod';insert into r_input_val(value, input_id, title) select '3', i.id, 'Je ne sais pas' from r_input i where i.name='VTE-IsoMurMethod';insert into r_input(name) values('VTE-Smurs');insert into r_input(name) values('VTE-IsoPlancherMethod');insert into r_input_val(value, input_id, title) select '1', i.id, 'Par le dessus' from r_input i where i.name='VTE-IsoPlancherMethod';insert into r_input_val(value, input_id, title) select '2', i.id, 'Par le dessous' from r_input i where i.name='VTE-IsoPlancherMethod';insert into r_input_val(value, input_id, title) select '3', i.id, 'Je ne sais pas' from r_input i where i.name='VTE-IsoPlancherMethod';insert into r_input(name) values('VTE-Ssol');insert into r_input(name) values('VTE-VentType');insert into r_input_val(value, input_id, title) select '1', i.id, 'VMC Double Flux' from r_input i where i.name='VTE-VentType';insert into r_input_val(value, input_id, title) select '2', i.id, 'VMC Simple Flux autoréglable' from r_input i where i.name='VTE-VentType';insert into r_input_val(value, input_id, title) select '3', i.id, 'VMC Simple Flux hydroréglable' from r_input i where i.name='VTE-VentType';insert into r_input_val(value, input_id, title) select '4', i.id, 'Je ne sais pas' from r_input i where i.name='VTE-VentType';insert into r_input(name) values('VTE-RoomVent');insert into r_input(name) values('VTE-Svent');insert into r_input(name) values('VTE-Fen');insert into r_input_val(value, input_id, title) select '1', i.id, 'Fenêtre' from r_input i where i.name='VTE-Fen';insert into r_input_val(value, input_id, title) select '2', i.id, 'Fenêtre de toit' from r_input i where i.name='VTE-Fen';insert into r_input_val(value, input_id, title) select '3', i.id, 'Porte fenêtre' from r_input i where i.name='VTE-Fen';insert into r_input_val(value, input_id, title) select '4', i.id, 'Autre ' from r_input i where i.name='VTE-Fen';insert into r_input(name) values('VTE-Men');insert into r_input_val(value, input_id, title) select '1', i.id, 'PVC' from r_input i where i.name='VTE-Men';insert into r_input_val(value, input_id, title) select '2', i.id, 'Aluminium' from r_input i where i.name='VTE-Men';insert into r_input_val(value, input_id, title) select '3', i.id, 'Bois' from r_input i where i.name='VTE-Men';insert into r_input_val(value, input_id, title) select '4', i.id, 'Je ne sais pas' from r_input i where i.name='VTE-Men';insert into r_input(name) values('VTE-FenNb');insert into r_input(name) values('VTE-FenWork');insert into r_input_val(value, input_id, title) select '1', i.id, '1ère Installation' from r_input i where i.name='VTE-FenWork';insert into r_input_val(value, input_id, title) select '2', i.id, 'Remplacement des menuiseries complètes' from r_input i where i.name='VTE-FenWork';insert into r_input_val(value, input_id, title) select '3', i.id, 'Remplacement des vitres seules' from r_input i where i.name='VTE-FenWork';insert into r_input(name) values('VTE-CESType');insert into r_input_val(value, input_id, title) select '1', i.id, 'Chauffage de l\'habitation' from r_input i where i.name='VTE-CESType';insert into r_input_val(value, input_id, title) select '2', i.id, 'Chauffage de l\'eau chaude sanitaire' from r_input i where i.name='VTE-CESType';insert into r_input_val(value, input_id, title) select '3', i.id, 'Chauffage de piscine ou de Spa' from r_input i where i.name='VTE-CESType';insert into r_input_val(value, input_id, title) select '4', i.id, 'Je ne sais pas' from r_input i where i.name='VTE-CESType';insert into r_input(name) values('VTE-SCap');insert into r_input(name) values('VTE-Orientation');insert into r_input_val(value, input_id, title) select '1', i.id, 'Sud' from r_input i where i.name='VTE-Orientation';insert into r_input_val(value, input_id, title) select '2', i.id, 'Sud Est' from r_input i where i.name='VTE-Orientation';insert into r_input_val(value, input_id, title) select '3', i.id, 'Est' from r_input i where i.name='VTE-Orientation';insert into r_input_val(value, input_id, title) select '4', i.id, 'Sud Ouest' from r_input i where i.name='VTE-Orientation';insert into r_input_val(value, input_id, title) select '5', i.id, 'Ouest' from r_input i where i.name='VTE-Orientation';insert into r_input_val(value, input_id, title) select '6', i.id, 'Nord Ouest' from r_input i where i.name='VTE-Orientation';insert into r_input_val(value, input_id, title) select '7', i.id, 'Nord ' from r_input i where i.name='VTE-Orientation';insert into r_input_val(value, input_id, title) select '8', i.id, 'Nord Est' from r_input i where i.name='VTE-Orientation';insert into r_input_val(value, input_id, title) select '9', i.id, 'Je ne sais pas' from r_input i where i.name='VTE-Orientation';insert into r_input(name) values('VTE-Sdisp');insert into r_input_val(value, input_id, title) select '1', i.id, '16 m²' from r_input i where i.name='VTE-Sdisp';insert into r_input_val(value, input_id, title) select '2', i.id, '20m²' from r_input i where i.name='VTE-Sdisp';insert into r_input_val(value, input_id, title) select '3', i.id, '24m²' from r_input i where i.name='VTE-Sdisp';insert into r_input(name) values('VTE-INC');insert into r_input_val(value, input_id, title) select '1', i.id, '0°' from r_input i where i.name='VTE-INC';insert into r_input_val(value, input_id, title) select '2', i.id, '30°' from r_input i where i.name='VTE-INC';insert into r_input_val(value, input_id, title) select '3', i.id, '45°' from r_input i where i.name='VTE-INC';insert into r_input_val(value, input_id, title) select '4', i.id, '60°' from r_input i where i.name='VTE-INC';insert into r_input_val(value, input_id, title) select '5', i.id, '90°' from r_input i where i.name='VTE-INC';insert into r_input(name) values('VTE-EDF');insert into r_input_val(value, input_id, title) select '1', i.id, 'Oui' from r_input i where i.name='VTE-EDF';insert into r_input_val(value, input_id, title) select '0', i.id, 'Non' from r_input i where i.name='VTE-EDF';insert into r_input(name) values('VTE-EolType');insert into r_input_val(value, input_id, title) select '1', i.id, 'Sur le toit' from r_input i where i.name='VTE-EolType';insert into r_input_val(value, input_id, title) select '2', i.id, 'Sur un mât dans mon jardin' from r_input i where i.name='VTE-EolType';insert into r_input_val(value, input_id, title) select '3', i.id, 'Je ne sais pas' from r_input i where i.name='VTE-EolType';insert into r_input(name) values('VTE-ElecNeed');insert into r_input_val(value, input_id, title) select '1', i.id, '< à 20 kWh' from r_input i where i.name='VTE-ElecNeed';insert into r_input_val(value, input_id, title) select '2', i.id, 'entre 20 et 40 kWh' from r_input i where i.name='VTE-ElecNeed';insert into r_input_val(value, input_id, title) select '3', i.id, '> à 40 kWh' from r_input i where i.name='VTE-ElecNeed';insert into r_input_val(value, input_id, title) select '4', i.id, 'Je ne sais pas' from r_input i where i.name='VTE-ElecNeed';insert into r_input(name) values('VTE-CuveType');insert into r_input_val(value, input_id, title) select '1', i.id, 'Plastique' from r_input i where i.name='VTE-CuveType';insert into r_input_val(value, input_id, title) select '2', i.id, 'Béton' from r_input i where i.name='VTE-CuveType';insert into r_input_val(value, input_id, title) select '3', i.id, 'Je ne sais pas' from r_input i where i.name='VTE-CuveType';insert into r_input(name) values('VTE-CuveInst');insert into r_input_val(value, input_id, title) select '1', i.id, 'Entérrée' from r_input i where i.name='VTE-CuveInst';insert into r_input_val(value, input_id, title) select '2', i.id, 'Aérienne' from r_input i where i.name='VTE-CuveInst';insert into r_input_val(value, input_id, title) select '3', i.id, 'Je ne sais pas' from r_input i where i.name='VTE-CuveInst';insert into r_input(name) values('VTE-VegType');insert into r_input_val(value, input_id, title) select '1', i.id, 'Extensive' from r_input i where i.name='VTE-VegType';insert into r_input_val(value, input_id, title) select '2', i.id, 'Semi-intensive' from r_input i where i.name='VTE-VegType';insert into r_input_val(value, input_id, title) select '3', i.id, 'Intensive' from r_input i where i.name='VTE-VegType';insert into r_input_val(value, input_id, title) select '4', i.id, 'Je ne sais pas' from r_input i where i.name='VTE-VegType';insert into r_input(name) values('VTE-Toiture');insert into r_input_val(value, input_id, title) select '1', i.id, 'Toiture végétalisée' from r_input i where i.name='VTE-Toiture';insert into r_input_val(value, input_id, title) select '2', i.id, 'Toiture terrasse' from r_input i where i.name='VTE-Toiture';insert into r_input_val(value, input_id, title) select '3', i.id, 'Ardoise' from r_input i where i.name='VTE-Toiture';insert into r_input_val(value, input_id, title) select '4', i.id, 'Tuile' from r_input i where i.name='VTE-Toiture';insert into r_input_val(value, input_id, title) select '5', i.id, 'Zinc' from r_input i where i.name='VTE-Toiture';insert into r_input_val(value, input_id, title) select '6', i.id, 'Autre' from r_input i where i.name='VTE-Toiture';insert into r_input(name) values('VTE-Stoit');insert into r_input_val(value, input_id, title) select '1', i.id, '< 20 m²' from r_input i where i.name='VTE-Stoit';insert into r_input_val(value, input_id, title) select '2', i.id, '> 20 m²' from r_input i where i.name='VTE-Stoit';insert into r_input(name) values('VTE-Pente');insert into r_input_val(value, input_id, title) select '1', i.id, 'Toiture terrasse (pente nulle)' from r_input i where i.name='VTE-Pente';insert into r_input_val(value, input_id, title) select '2', i.id, 'inférieure à 15°' from r_input i where i.name='VTE-Pente';insert into r_input_val(value, input_id, title) select '3', i.id, 'entre 15 et 25°' from r_input i where i.name='VTE-Pente';insert into r_input_val(value, input_id, title) select '4', i.id, 'entre 24 et 45°' from r_input i where i.name='VTE-Pente';insert into r_input_val(value, input_id, title) select '5', i.id, 'supérieure à 45°' from r_input i where i.name='VTE-Pente';insert into r_input(name) values('VTE-Etanch');insert into r_input_val(value, input_id, title) select '1', i.id, 'Oui' from r_input i where i.name='VTE-Etanch';insert into r_input_val(value, input_id, title) select '0', i.id, 'Non' from r_input i where i.name='VTE-Etanch';


-- Pour les simulateurs VEE
insert into r_input(name) values('SH');insert into r_input(name) values('HSP');insert into r_input_val(value, input_id, title) select '1.75', i.id, '1.75 m' from r_input i where i.name='HSP';insert into r_input_val(value, input_id, title) select '2', i.id, '2 m' from r_input i where i.name='HSP';insert into r_input_val(value, input_id, title) select '2.25', i.id, '2.25 m' from r_input i where i.name='HSP';insert into r_input_val(value, input_id, title) select '2.5', i.id, '2.5 m, ou ne sais pas' from r_input i where i.name='HSP';insert into r_input_val(value, input_id, title) select '2.75', i.id, '2.75 m' from r_input i where i.name='HSP';insert into r_input_val(value, input_id, title) select '3', i.id, '3 m' from r_input i where i.name='HSP';insert into r_input_val(value, input_id, title) select '3.25', i.id, '3.25 m' from r_input i where i.name='HSP';insert into r_input_val(value, input_id, title) select '3.5', i.id, '3.5 m' from r_input i where i.name='HSP';insert into r_input_val(value, input_id, title) select '3.75', i.id, '3.75 m' from r_input i where i.name='HSP';insert into r_input_val(value, input_id, title) select '4', i.id, '4 m' from r_input i where i.name='HSP';insert into r_input(name) values('DEPT');insert into r_input_val(value, input_id, title) select '1', i.id, '01 - Ain' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '2', i.id, '02 - Aisne' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '3', i.id, '03 - Allier' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '4', i.id, '04 - Alpes de Haute Provence' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '5', i.id, '05 - Hautes Alpes' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '6', i.id, '06 - Alpes Maritimes' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '7', i.id, '07 - Ardèche' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '8', i.id, '08 - Ardennes' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '9', i.id, '09 - Ariège' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '10', i.id, '10 - Aube' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '11', i.id, '11 - Aude' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '12', i.id, '12 - Aveyron' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '13', i.id, '13 - Bouches du Rhône' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '14', i.id, '14 - Calvados' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '15', i.id, '15 - Cantal' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '16', i.id, '16 - Charente' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '17', i.id, '17 - Charente Maritime' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '18', i.id, '18 - Cher' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '19', i.id, '19 - Corrèze' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '20', i.id, '2A - Corse du Sud' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '21', i.id, '2B - Haute Corse' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '22', i.id, '21 - Côte d\'Or' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '23', i.id, '22 - Côtes d\'Armor' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '24', i.id, '23 - Creuse' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '25', i.id, '24 - Dordogne' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '26', i.id, '25 - Doubs' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '27', i.id, '26 - Drôme' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '28', i.id, '27 - Eure' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '29', i.id, '28 - Eure et Loir' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '30', i.id, '29 - Finistère' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '31', i.id, '30 - Gard' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '32', i.id, '31 - Haute Garonne' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '33', i.id, '32 - Gers' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '34', i.id, '33 - Gironde' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '35', i.id, '34 - Hérault' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '36', i.id, '35 - Ile et Vilaine' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '37', i.id, '36 - Indre' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '38', i.id, '37 - Indre et Loire' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '39', i.id, '38 - Isère' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '40', i.id, '39 - Jura' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '41', i.id, '40 - Landes' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '42', i.id, '41 - Loir et Cher' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '43', i.id, '42 - Loire' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '44', i.id, '43 - Haute Loire' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '45', i.id, '44 - Loire Atlantique' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '46', i.id, '45 - Loiret' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '47', i.id, '46 - Lot' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '48', i.id, '47 - Lot et Garonne' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '49', i.id, '48 - Lozère' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '50', i.id, '49 - Maine et Loire' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '51', i.id, '50 - Manche' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '52', i.id, '51 - Marne' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '53', i.id, '52 - Haute Marne' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '54', i.id, '53 - Mayenne' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '55', i.id, '54 - Meurthe et Moselle' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '56', i.id, '55 - Meuse' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '57', i.id, '56 - Morbihan' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '58', i.id, '57 - Moselle' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '59', i.id, '58 - Nièvre' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '60', i.id, '59 - Nord' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '61', i.id, '60 - Oise' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '62', i.id, '61 - Orne' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '63', i.id, '62 - Pas de Calais' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '64', i.id, '63 - Puy de Dôme' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '65', i.id, '64 - Pyrénées Atlantiques' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '66', i.id, '65 - Hautes Pyrénées' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '67', i.id, '66 - Pyrénées Orientales' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '68', i.id, '67 - Bas Rhin' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '69', i.id, '68 - Haut Rhin' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '70', i.id, '69 - Rhône' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '71', i.id, '70 - Haute Saône' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '72', i.id, '71 - Saône et Loire' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '73', i.id, '72 - Sarthe' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '74', i.id, '73 - Savoie' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '75', i.id, '74 - Haute Savoie' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '76', i.id, '75 - Paris' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '77', i.id, '76 - Seine Maritime' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '78', i.id, '77 - Seine et Marne' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '79', i.id, '78 - Yvelines' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '80', i.id, '79 - Deux Sèvres' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '81', i.id, '80 - Somme' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '82', i.id, '81 - Tarn' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '83', i.id, '82 - Tarn et Garonne' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '84', i.id, '83 -Var' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '85', i.id, '84 - Vaucluse' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '86', i.id, '85 - Vendée' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '87', i.id, '86 - Vienne' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '88', i.id, '87 - Haute Vienne' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '89', i.id, '88 - Vosges' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '90', i.id, '89 - Yonne' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '91', i.id, '90 - Territoire de Belfort' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '92', i.id, '91 - Essonne' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '93', i.id, '92 - Hauts de Seine' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '94', i.id, '93 - Seine Saint Denis' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '95', i.id, '94 - Val de Marne' from r_input i where i.name='DEPT';insert into r_input_val(value, input_id, title) select '96', i.id, '95 - Val d\'Oise' from r_input i where i.name='DEPT';insert into r_input(name) values('AC');insert into r_input_val(value, input_id, title) select '1', i.id, '< 1975' from r_input i where i.name='AC';insert into r_input_val(value, input_id, title) select '2', i.id, '75-77' from r_input i where i.name='AC';insert into r_input_val(value, input_id, title) select '3', i.id, '78-82' from r_input i where i.name='AC';insert into r_input_val(value, input_id, title) select '4', i.id, '83-88' from r_input i where i.name='AC';insert into r_input_val(value, input_id, title) select '5', i.id, '89-01' from r_input i where i.name='AC';insert into r_input_val(value, input_id, title) select '6', i.id, '> 2002' from r_input i where i.name='AC';insert into r_input(name) values('J');insert into r_input_val(value, input_id, title) select '1', i.id, 'Oui' from r_input i where i.name='J';insert into r_input_val(value, input_id, title) select '0', i.id, 'Non' from r_input i where i.name='J';insert into r_input(name) values('VER');insert into r_input_val(value, input_id, title) select '1', i.id, 'Oui' from r_input i where i.name='VER';insert into r_input_val(value, input_id, title) select '0', i.id, 'Non' from r_input i where i.name='VER';insert into r_input(name) values('NIV');insert into r_input_val(value, input_id, title,image_url) select '1', i.id, '1','NIV_1.png' from r_input i where i.name='NIV';insert into r_input_val(value, input_id, title,image_url) select '1.5', i.id, '1 avec combles','NIV_2.png' from r_input i where i.name='NIV';insert into r_input_val(value, input_id, title,image_url) select '2', i.id, '2','NIV_3.png' from r_input i where i.name='NIV';insert into r_input_val(value, input_id, title,image_url) select '2.5', i.id, '2 avec combles','NIV_4.png' from r_input i where i.name='NIV';insert into r_input(name) values('MIT');insert into r_input_val(value, input_id, title,image_url) select '1', i.id, 'Indépendante', 'MIT_1.png' from r_input i where i.name='MIT';insert into r_input_val(value, input_id, title,image_url) select '2', i.id, 'Accolée sur 1 petit côté', 'MIT_2.png' from r_input i where i.name='MIT';insert into r_input_val(value, input_id, title,image_url) select '3', i.id, 'Accolée sur 1 grand côté ', 'MIT_3.png' from r_input i where i.name='MIT';insert into r_input_val(value, input_id, title,image_url) select '4', i.id, 'Accolée sur 2 petits côtés', 'MIT_4.png' from r_input i where i.name='MIT';insert into r_input_val(value, input_id, title,image_url) select '5', i.id, 'Accolée sur grand et petit côté', 'MIT_5.png' from r_input i where i.name='MIT';insert into r_input_val(value, input_id, title,image_url) select '6', i.id, 'Accolée sur 2 grands côtés', 'MIT_6.png' from r_input i where i.name='MIT';insert into r_input(name) values('CONF');insert into r_input_val(value, input_id, title,image_url) select '1', i.id, 'Carrée', 'CONF_A.png' from r_input i where i.name='CONF';insert into r_input_val(value, input_id, title,image_url) select '2', i.id, 'Allongée ou en L', 'CONF_B.png' from r_input i where i.name='CONF';insert into r_input_val(value, input_id, title,image_url) select '3', i.id, 'Avec plusieurs ailes', 'CONF_C.png' from r_input i where i.name='CONF';insert into r_input(name) values('TOIT');insert into r_input_val(value, input_id, title) select '1', i.id, 'Combles perdus' from r_input i where i.name='TOIT';insert into r_input_val(value, input_id, title) select '2', i.id, 'Combles habitables' from r_input i where i.name='TOIT';insert into r_input_val(value, input_id, title) select '3', i.id, 'Terrasse' from r_input i where i.name='TOIT';insert into r_input(name) values('ITOIT');insert into r_input_val(value, input_id, title) select '1', i.id, 'Non ou je ne sais pas' from r_input i where i.name='ITOIT';insert into r_input_val(value, input_id, title) select '2', i.id, 'Oui avant 1988' from r_input i where i.name='ITOIT';insert into r_input_val(value, input_id, title) select '3', i.id, 'Oui entre 1988 et 2000' from r_input i where i.name='ITOIT';insert into r_input_val(value, input_id, title) select '4', i.id, 'Oui après 2000' from r_input i where i.name='ITOIT';insert into r_input(name) values('Sdisp');insert into r_input_val(value, input_id, title) select '16', i.id, '16 m²' from r_input i where i.name='Sdisp';insert into r_input_val(value, input_id, title) select '20', i.id, '20 m²' from r_input i where i.name='Sdisp';insert into r_input_val(value, input_id, title) select '24', i.id, '24 m²' from r_input i where i.name='Sdisp';insert into r_input(name) values('INC');insert into r_input_val(value, input_id, title) select '1', i.id, '0° (horizontal)' from r_input i where i.name='INC';insert into r_input_val(value, input_id, title) select '2', i.id, '30°' from r_input i where i.name='INC';insert into r_input_val(value, input_id, title) select '3', i.id, '45°' from r_input i where i.name='INC';insert into r_input_val(value, input_id, title) select '4', i.id, '60°' from r_input i where i.name='INC';insert into r_input_val(value, input_id, title) select '5', i.id, '90° (vertical)' from r_input i where i.name='INC';insert into r_input(name) values('OR');insert into r_input_val(value, input_id, title) select '1', i.id, 'Nord-est' from r_input i where i.name='OR';insert into r_input_val(value, input_id, title) select '2', i.id, 'Nord' from r_input i where i.name='OR';insert into r_input_val(value, input_id, title) select '3', i.id, 'Nord-ouest' from r_input i where i.name='OR';insert into r_input_val(value, input_id, title) select '4', i.id, 'Ouest' from r_input i where i.name='OR';insert into r_input_val(value, input_id, title) select '5', i.id, 'Sud-ouest' from r_input i where i.name='OR';insert into r_input_val(value, input_id, title) select '6', i.id, 'Sud' from r_input i where i.name='OR';insert into r_input_val(value, input_id, title) select '7', i.id, 'Sud-est' from r_input i where i.name='OR';insert into r_input_val(value, input_id, title) select '8', i.id, 'Est' from r_input i where i.name='OR';
insert into r_input(name) values('DEG');insert into r_input_val(value, input_id, title) select '1', i.id, 'Oui' from r_input i where i.name='DEG';insert into r_input_val(value, input_id, title) select '0', i.id, 'Non' from r_input i where i.name='DEG';insert into r_input(name) values('IMUR');insert into r_input_val(value, input_id, title) select '1', i.id, 'Non ou je ne sais pas' from r_input i where i.name='IMUR';insert into r_input_val(value, input_id, title) select '2', i.id, 'Oui avant 1988' from r_input i where i.name='IMUR';insert into r_input_val(value, input_id, title) select '3', i.id, 'Oui entre 1988 et 2000' from r_input i where i.name='IMUR';insert into r_input_val(value, input_id, title) select '4', i.id, 'Oui après 2000' from r_input i where i.name='IMUR';insert into r_input(name) values('MF');insert into r_input_val(value, input_id, title) select '1', i.id, 'Bois ' from r_input i where i.name='MF';insert into r_input_val(value, input_id, title) select '2', i.id, 'PVC' from r_input i where i.name='MF';insert into r_input_val(value, input_id, title) select '3', i.id, 'Métal' from r_input i where i.name='MF';insert into r_input_val(value, input_id, title) select '4', i.id, 'Métal à rupture de pont thermique' from r_input i where i.name='MF';insert into r_input(name) values('VIT');insert into r_input_val(value, input_id, title) select '1', i.id, 'simple vitrage' from r_input i where i.name='VIT';insert into r_input_val(value, input_id, title) select '2', i.id, 'survitrage' from r_input i where i.name='VIT';insert into r_input_val(value, input_id, title) select '3', i.id, 'Double vitrage' from r_input i where i.name='VIT';insert into r_input_val(value, input_id, title) select '4', i.id, 'Double vitrage à isolation renforcée' from r_input i where i.name='VIT';insert into r_input_val(value, input_id, title) select '5', i.id, 'Double fenêtres' from r_input i where i.name='VIT';insert into r_input(name) values('VOL');insert into r_input_val(value, input_id, title) select '1', i.id, 'Oui (avec volets)' from r_input i where i.name='VOL';insert into r_input_val(value, input_id, title) select '0', i.id, 'Non (sans volets)' from r_input i where i.name='VOL';insert into r_input(name) values('PLA');insert into r_input_val(value, input_id, title) select '1', i.id, 'Inconnu' from r_input i where i.name='PLA';insert into r_input_val(value, input_id, title) select '2', i.id, 'Terre-plein' from r_input i where i.name='PLA';insert into r_input_val(value, input_id, title) select '3', i.id, 'Vide-sanitaire' from r_input i where i.name='PLA';insert into r_input_val(value, input_id, title) select '4', i.id, 'Autre local non chauffé' from r_input i where i.name='PLA';insert into r_input(name) values('IPLAN');insert into r_input_val(value, input_id, title) select '1', i.id, 'Non ou je ne sais pas' from r_input i where i.name='IPLAN';insert into r_input_val(value, input_id, title) select '2', i.id, 'Oui avant 1988' from r_input i where i.name='IPLAN';insert into r_input_val(value, input_id, title) select '3', i.id, 'Oui entre 1988 et 2000' from r_input i where i.name='IPLAN';insert into r_input_val(value, input_id, title) select '4', i.id, 'Oui après 2000' from r_input i where i.name='IPLAN';insert into r_input(name) values('ENCH');insert into r_input_val(value, input_id, title) select '1', i.id, 'Electricité' from r_input i where i.name='ENCH';insert into r_input_val(value, input_id, title) select '2', i.id, 'Gaz naturel' from r_input i where i.name='ENCH';insert into r_input_val(value, input_id, title) select '3', i.id, 'GPL' from r_input i where i.name='ENCH';insert into r_input_val(value, input_id, title) select '4', i.id, 'Fioul' from r_input i where i.name='ENCH';insert into r_input_val(value, input_id, title) select '5', i.id, 'Bois' from r_input i where i.name='ENCH';insert into r_input_val(value, input_id, title) select '6', i.id, 'Charbon' from r_input i where i.name='ENCH';insert into r_input_val(value, input_id, title) select '7', i.id, 'Thermodynamique' from r_input i where i.name='ENCH';insert into r_input_val(value, input_id, title) select '8', i.id, 'Réseau de chaleur' from r_input i where i.name='ENCH';insert into r_input(name) values('CH');insert into r_input_val(value, input_id, title) select '1', i.id, 'Convecteurs électriques' from r_input i where i.name='CH';insert into r_input_val(value, input_id, title) select '2', i.id, 'Panneaux rayonnant électriques' from r_input i where i.name='CH';insert into r_input_val(value, input_id, title) select '3', i.id, 'Plafond rayonnant électrique' from r_input i where i.name='CH';insert into r_input_val(value, input_id, title) select '4', i.id, 'Plancher rayonnant électrique' from r_input i where i.name='CH';insert into r_input_val(value, input_id, title) select '5', i.id, 'Radiateur électrique à accumulation' from r_input i where i.name='CH';insert into r_input_val(value, input_id, title) select '6', i.id, 'Plancher électrique à accumulation' from r_input i where i.name='CH';insert into r_input_val(value, input_id, title) select '8', i.id, 'Chaudière électrique' from r_input i where i.name='CH';insert into r_input_val(value, input_id, title) select '7', i.id, 'Autre' from r_input i where i.name='CH';insert into r_input_val(value, input_id, title) select '11', i.id, 'Chaudière installée avant 1988' from r_input i where i.name='CH';insert into r_input_val(value, input_id, title) select '13', i.id, 'Chaudière gaz installée entre 1989 et 2000' from r_input i where i.name='CH';insert into r_input_val(value, input_id, title) select '14', i.id, 'Chaudière installée à partir de 2001' from r_input i where i.name='CH';insert into r_input_val(value, input_id, title) select '15', i.id, 'Chaudière basse température et radiateurs' from r_input i where i.name='CH';insert into r_input_val(value, input_id, title) select '16', i.id, 'Chaudière basse temp. et plancher chauffant' from r_input i where i.name='CH';insert into r_input_val(value, input_id, title) select '17', i.id, 'Chaudière condensation et radiateurs' from r_input i where i.name='CH';insert into r_input_val(value, input_id, title) select '18', i.id, 'Chaudière condensation et plancher chauffant' from r_input i where i.name='CH';insert into r_input_val(value, input_id, title) select '9', i.id, 'Radiateurs gaz à ventouse' from r_input i where i.name='CH';insert into r_input_val(value, input_id, title) select '10', i.id, 'Radiateurs gaz sur conduits fumés' from r_input i where i.name='CH';insert into r_input_val(value, input_id, title) select '19', i.id, 'Poêle GPL' from r_input i where i.name='CH';insert into r_input_val(value, input_id, title) select '20', i.id, 'Poêle fioul' from r_input i where i.name='CH';insert into r_input_val(value, input_id, title) select '21', i.id, 'Chaudière installée avant 1988' from r_input i where i.name='CH';insert into r_input_val(value, input_id, title) select '23', i.id, 'Chaudière installée entre 1989 et 2000' from r_input i where i.name='CH';insert into r_input_val(value, input_id, title) select '24', i.id, 'Chaudière installée à partir de 2001' from r_input i where i.name='CH';insert into r_input_val(value, input_id, title) select '25', i.id, 'Chaudière basse temp. + radiateurs' from r_input i where i.name='CH';insert into r_input_val(value, input_id, title) select '26', i.id, 'Chaudière basse temp. + plancher chauffant' from r_input i where i.name='CH';insert into r_input_val(value, input_id, title) select '27', i.id, 'Poêle bois' from r_input i where i.name='CH';insert into r_input_val(value, input_id, title) select '28', i.id, 'Chaudière bois - rendement inconnu' from r_input i where i.name='CH';insert into r_input_val(value, input_id, title) select '29', i.id, 'Chaudière bois - classe 1 (faible rendement)' from r_input i where i.name='CH';insert into r_input_val(value, input_id, title) select '30', i.id, 'Chaudière bois - classe 2 (rendement moyen)' from r_input i where i.name='CH';insert into r_input_val(value, input_id, title) select '31', i.id, 'Chaudière bois - classe 3 (rendement élevé)' from r_input i where i.name='CH';insert into r_input_val(value, input_id, title) select '32', i.id, 'Poêle charbon' from r_input i where i.name='CH';insert into r_input_val(value, input_id, title) select '33', i.id, 'Chaudière charbon' from r_input i where i.name='CH';insert into r_input_val(value, input_id, title) select '34', i.id, 'PAC (divisé) - type split' from r_input i where i.name='CH';insert into r_input_val(value, input_id, title) select '35', i.id, 'PAC air / air' from r_input i where i.name='CH';insert into r_input_val(value, input_id, title) select '36', i.id, 'PAC air / eau' from r_input i where i.name='CH';insert into r_input_val(value, input_id, title) select '37', i.id, 'PAC eau / eau' from r_input i where i.name='CH';insert into r_input_val(value, input_id, title) select '38', i.id, 'PAC géothermique' from r_input i where i.name='CH';insert into r_input_val(value, input_id, title) select '39', i.id, 'Réseau de chaleur' from r_input i where i.name='CH';insert into r_input(name) values('ROB');insert into r_input_val(value, input_id, title) select '1', i.id, 'Oui (avec)' from r_input i where i.name='ROB';insert into r_input_val(value, input_id, title) select '0', i.id, 'Non (sans)' from r_input i where i.name='ROB';insert into r_input(name) values('PG');insert into r_input_val(value, input_id, title) select '0.97', i.id, 'Oui' from r_input i where i.name='PG';insert into r_input_val(value, input_id, title) select '1', i.id, 'Non' from r_input i where i.name='PG';insert into r_input(name) values('CLIM');insert into r_input_val(value, input_id, title) select '1', i.id, 'Oui ' from r_input i where i.name='CLIM';insert into r_input_val(value, input_id, title) select '0', i.id, 'Non' from r_input i where i.name='CLIM';insert into r_input(name) values('SCLIM');insert into r_input(name) values('ENECS');insert into r_input_val(value, input_id, title) select '1', i.id, 'Electricité' from r_input i where i.name='ENECS';insert into r_input_val(value, input_id, title) select '2', i.id, 'Gaz naturel' from r_input i where i.name='ENECS';insert into r_input_val(value, input_id, title) select '4', i.id, 'Fioul' from r_input i where i.name='ENECS';insert into r_input_val(value, input_id, title) select '5', i.id, 'Bois' from r_input i where i.name='ENECS';insert into r_input_val(value, input_id, title) select '6', i.id, 'Charbon' from r_input i where i.name='ENECS';insert into r_input_val(value, input_id, title) select '7', i.id, 'Thermodynamique' from r_input i where i.name='ENECS';insert into r_input_val(value, input_id, title) select '8', i.id, 'Réseau de chaleur' from r_input i where i.name='ENECS';insert into r_input(name) values('ECS');insert into r_input_val(value, input_id, title) select '1', i.id, 'Chauffe-eau électrique + 15 ans' from r_input i where i.name='ECS';insert into r_input_val(value, input_id, title) select '2', i.id, 'Chauffe-eau électrique entre 5 et 15 ans' from r_input i where i.name='ECS';insert into r_input_val(value, input_id, title) select '3', i.id, 'Chauffe-eau électrique - 5 ans' from r_input i where i.name='ECS';insert into r_input_val(value, input_id, title) select '4', i.id, 'Chauffe-eau instantané' from r_input i where i.name='ECS';insert into r_input_val(value, input_id, title) select '5', i.id, 'Chauffe-bain gaz' from r_input i where i.name='ECS';insert into r_input_val(value, input_id, title) select '6', i.id, 'Chaudière gaz installée avant 1988' from r_input i where i.name='ECS';insert into r_input_val(value, input_id, title) select '8', i.id, 'Chaudière gaz installée entre 1989 et 2000' from r_input i where i.name='ECS';insert into r_input_val(value, input_id, title) select '9', i.id, 'Chaudière gaz installée à partir de 2001' from r_input i where i.name='ECS';insert into r_input_val(value, input_id, title) select '10', i.id, 'Chaudière gaz basse température ' from r_input i where i.name='ECS';insert into r_input_val(value, input_id, title) select '11', i.id, 'Chaudière gaz condensation' from r_input i where i.name='ECS';insert into r_input_val(value, input_id, title) select '12', i.id, 'Chaudière fioul installée avant 1988' from r_input i where i.name='ECS';insert into r_input_val(value, input_id, title) select '14', i.id, 'Chaudière fioul installée entre 1989 et 2000' from r_input i where i.name='ECS';insert into r_input_val(value, input_id, title) select '15', i.id, 'Chaudière fioul installée à partir de 2001' from r_input i where i.name='ECS';insert into r_input_val(value, input_id, title) select '16', i.id, 'Chaudière fioul basse température ' from r_input i where i.name='ECS';insert into r_input_val(value, input_id, title) select '17', i.id, 'Chaudière bois - rendement inconnu' from r_input i where i.name='ECS';insert into r_input_val(value, input_id, title) select '18', i.id, 'Chaudière bois - classe 1 (faible rendement)' from r_input i where i.name='ECS';insert into r_input_val(value, input_id, title) select '19', i.id, 'Chaudière bois - classe 2 (rendement moyen)' from r_input i where i.name='ECS';insert into r_input_val(value, input_id, title) select '20', i.id, 'Chaudière bois - classe 3 (rendement élevé)' from r_input i where i.name='ECS';insert into r_input_val(value, input_id, title) select '21', i.id, 'Chaudière charbon' from r_input i where i.name='ECS';insert into r_input_val(value, input_id, title) select '22', i.id, 'Ballon thermodynamique' from r_input i where i.name='ECS';insert into r_input_val(value, input_id, title) select '23', i.id, 'Réseau de chaleur' from r_input i where i.name='ECS';insert into r_input(name) values('B');insert into r_input_val(value, input_id, title) select '1', i.id, 'Horizontal' from r_input i where i.name='B';insert into r_input_val(value, input_id, title) select '2', i.id, 'Vertical' from r_input i where i.name='B';insert into r_input(name) values('G');insert into r_input_val(value, input_id, title) select '1', i.id, 'Instantanée' from r_input i where i.name='G';insert into r_input_val(value, input_id, title) select '2', i.id, 'Accumulation' from r_input i where i.name='G';insert into r_input(name) values('AS');insert into r_input_val(value, input_id, title) select '1', i.id, 'Oui' from r_input i where i.name='AS';insert into r_input_val(value, input_id, title) select '0', i.id, 'Non' from r_input i where i.name='AS';insert into r_input(name) values('TAS');insert into r_input_val(value, input_id, title) select '1', i.id, 'Chauffe-eau solaire individuel' from r_input i where i.name='TAS';insert into r_input_val(value, input_id, title) select '2', i.id, 'Chauffe-eau et chauffage solaires' from r_input i where i.name='TAS';insert into r_input(name) values('AAS');insert into r_input_val(value, input_id, title) select '1', i.id, 'Oui (< 5 ans)' from r_input i where i.name='AAS';insert into r_input_val(value, input_id, title) select '2', i.id, 'Non (> 5 ans)' from r_input i where i.name='AAS';insert into r_input(name) values('VENT');insert into r_input_val(value, input_id, title) select '2', i.id, 'Aucune ventilation' from r_input i where i.name='VENT';insert into r_input_val(value, input_id, title) select '3', i.id, 'Ventilation naturelle par entrées d\'air' from r_input i where i.name='VENT';insert into r_input_val(value, input_id, title) select '4', i.id, 'VMC classique installée avant 1983' from r_input i where i.name='VENT';insert into r_input_val(value, input_id, title) select '5', i.id, 'VMC classique installée après 1983' from r_input i where i.name='VENT';insert into r_input_val(value, input_id, title) select '6', i.id, 'VMC à détection d\'humidité (type A)' from r_input i where i.name='VENT';insert into r_input_val(value, input_id, title) select '7', i.id, 'VMC à détection d\'humidité (type A)' from r_input i where i.name='VENT';insert into r_input_val(value, input_id, title) select '8', i.id, 'VMC double flux' from r_input i where i.name='VENT';insert into r_input(name) values('CG');insert into r_input_val(value, input_id, title) select '1', i.id, 'Oui' from r_input i where i.name='CG';insert into r_input_val(value, input_id, title) select '0', i.id, 'Non' from r_input i where i.name='CG';insert into r_input(name) values('PV');insert into r_input_val(value, input_id, title) select '1', i.id, 'Oui' from r_input i where i.name='PV';insert into r_input_val(value, input_id, title) select '0', i.id, 'Non' from r_input i where i.name='PV';insert into r_input(name) values('PVconso');insert into r_input_val(value, input_id, title) select '1', i.id, 'Oui, elle est utilisée' from r_input i where i.name='PVconso';insert into r_input_val(value, input_id, title) select '0', i.id, 'Non, elle est revendue à EDF' from r_input i where i.name='PVconso';insert into r_input(name) values('EO');insert into r_input_val(value, input_id, title) select '1', i.id, 'Oui' from r_input i where i.name='EO';insert into r_input_val(value, input_id, title) select '0', i.id, 'Non' from r_input i where i.name='EO';insert into r_input(name) values('EOconso');insert into r_input_val(value, input_id, title) select '1', i.id, 'Oui, elle est utilisée' from r_input i where i.name='EOconso';insert into r_input_val(value, input_id, title) select '0', i.id, 'Non, elle est revendue à EDF' from r_input i where i.name='EOconso';
insert into r_input(name) values('ZHIV');insert into r_input_val(value, input_id) select '1', i.id from r_input i where i.name='ZHIV';insert into r_input_val(value, input_id) select '2', i.id from r_input i where i.name='ZHIV';insert into r_input_val(value, input_id) select '3', i.id from r_input i where i.name='ZHIV';insert into r_input(name) values('ZETE');insert into r_input_val(value, input_id) select '1', i.id from r_input i where i.name='ZETE';insert into r_input_val(value, input_id) select '2', i.id from r_input i where i.name='ZETE';insert into r_input_val(value, input_id) select '3', i.id from r_input i where i.name='ZETE';insert into r_input_val(value, input_id) select '4', i.id from r_input i where i.name='ZETE';insert into r_input(name) values('EJ');insert into r_input_val(value, input_id) select '0', i.id from r_input i where i.name='EJ';insert into r_input_val(value, input_id) select '1', i.id from r_input i where i.name='EJ';insert into r_input(name) values('BigSclim');insert into r_input_val(value, input_id) select '0', i.id from r_input i where i.name='BigSclim';insert into r_input_val(value, input_id) select '1', i.id from r_input i where i.name='BigSclim';insert into r_input(name) values('STER');insert into r_input(name) values('PSCLIM');insert into r_input(name) values('WC');insert into r_input_val(value, input_id, title) select '0', i.id, '0 Wc' from r_input i where i.name='WC';insert into r_input_val(value, input_id, title) select '2000', i.id, '2000 Wc' from r_input i where i.name='WC';insert into r_input_val(value, input_id, title) select '2500', i.id, '2500 Wc' from r_input i where i.name='WC';insert into r_input_val(value, input_id, title) select '3000', i.id, '3000 Wc' from r_input i where i.name='WC';insert into r_input(name) values('P');insert into r_input_val(value, input_id, title) select '1', i.id, 'Un propriétaire d\'une maison' from r_input i where i.name='P';insert into r_input_val(value, input_id, title) select '2', i.id, 'Une entreprise ou un agriculteur' from r_input i where i.name='P';insert into r_input(name) values('HAB');insert into r_input(name) values('STOIT');insert into r_input(name) values('CR');insert into r_input_val(value, input_id, title) select '0.8', i.id, 'Inconnue ou ondulée' from r_input i where i.name='CR';insert into r_input_val(value, input_id, title) select '0.9', i.id, 'En tuiles' from r_input i where i.name='CR';insert into r_input_val(value, input_id, title) select '0.3', i.id, 'Toiture végétale' from r_input i where i.name='CR';insert into r_input_val(value, input_id, title) select '0.6', i.id, 'Plate' from r_input i where i.name='CR';insert into r_input(name) values('S');insert into r_input(name) values('G_PAC');insert into r_input_val(value, input_id, title) select '1.7', i.id, 'Construite avant 1975' from r_input i where i.name='G_PAC';insert into r_input_val(value, input_id, title) select '1.2', i.id, 'Construite entre 1975 et 2000' from r_input i where i.name='G_PAC';insert into r_input_val(value, input_id, title) select '0.8', i.id, 'Construite après 2000' from r_input i where i.name='G_PAC';insert into r_input(name) values('NL');insert into r_input_val(value, input_id, title) select '30', i.id, '30 litres' from r_input i where i.name='NL';insert into r_input_val(value, input_id, title) select '35', i.id, '35 litres' from r_input i where i.name='NL';insert into r_input_val(value, input_id, title) select '40', i.id, '40 litres' from r_input i where i.name='NL';insert into r_input_val(value, input_id, title) select '45', i.id, '45 litres' from r_input i where i.name='NL';insert into r_input_val(value, input_id, title) select '50', i.id, '50 litres' from r_input i where i.name='NL';insert into r_input_val(value, input_id, title) select '55', i.id, '55 litres' from r_input i where i.name='NL';insert into r_input_val(value, input_id, title) select '60', i.id, '60 litres' from r_input i where i.name='NL';insert into r_input_val(value, input_id, title) select '65', i.id, '65 litres' from r_input i where i.name='NL';insert into r_input_val(value, input_id, title) select '70', i.id, '70 litres' from r_input i where i.name='NL';insert into r_input_val(value, input_id, title) select '75', i.id, '75 litres' from r_input i where i.name='NL';insert into r_input_val(value, input_id, title) select '80', i.id, '80 litres' from r_input i where i.name='NL';insert into r_input(name) values('TT');insert into r_input_val(value, input_id, title) select '1', i.id, 'Toiture inclinée' from r_input i where i.name='TT';insert into r_input_val(value, input_id, title) select '2', i.id, 'Toiture plate' from r_input i where i.name='TT';insert into r_input(name) values('INC2');insert into r_input_val(value, input_id, title) select '0.93', i.id, '30°' from r_input i where i.name='INC2';insert into r_input_val(value, input_id, title) select '0.94', i.id, '35°' from r_input i where i.name='INC2';insert into r_input_val(value, input_id, title) select '0.95', i.id, '40°' from r_input i where i.name='INC2';insert into r_input_val(value, input_id, title) select '1', i.id, '45°' from r_input i where i.name='INC2';insert into r_input_val(value, input_id, title) select '1.02', i.id, '50°' from r_input i where i.name='INC2';insert into r_input_val(value, input_id, title) select '1.03', i.id, '55°' from r_input i where i.name='INC2';insert into r_input_val(value, input_id, title) select '1.04', i.id, '60°' from r_input i where i.name='INC2';insert into r_input(name) values('OR2');insert into r_input_val(value, input_id, title) select '1', i.id, 'Plein sud' from r_input i where i.name='OR2';insert into r_input_val(value, input_id, title) select '0.99', i.id, '+/- 10°' from r_input i where i.name='OR2';insert into r_input_val(value, input_id, title) select '0.98', i.id, '+/- 20°' from r_input i where i.name='OR2';insert into r_input_val(value, input_id, title) select '0.96', i.id, '+/- 30°' from r_input i where i.name='OR2';insert into r_input_val(value, input_id, title) select '0.94', i.id, '+/- 40°' from r_input i where i.name='OR2';insert into r_input_val(value, input_id, title) select '0.92', i.id, '+/- 45°' from r_input i where i.name='OR2';insert into r_input(name) values('Rdt');insert into r_input_val(value, input_id, title) select '0.55', i.id, 'Capteurs plans' from r_input i where i.name='Rdt';insert into r_input_val(value, input_id, title) select '0.7', i.id, 'Capteurs à tubes sous vide' from r_input i where i.name='Rdt';insert into r_input(name) values('R');insert into r_input_val(value, input_id, title) select '0.8', i.id, 'Zone urbaine' from r_input i where i.name='R';insert into r_input_val(value, input_id, title) select '1', i.id, 'Zone rurale' from r_input i where i.name='R';insert into r_input(name) values('Vmoy2');insert into r_input(name) values('DIA');insert into r_input(name) values('TMUR');insert into r_input_val(value, input_id, title) select '24', i.id, 'Autres murs non isolés' from r_input i where i.name='TMUR';insert into r_input_val(value, input_id, title) select '21', i.id, 'Autres types de murs isolés avant 1988' from r_input i where i.name='TMUR';insert into r_input_val(value, input_id, title) select '22', i.id, 'Autres types de murs isolés entre 1989 et 2000' from r_input i where i.name='TMUR';insert into r_input_val(value, input_id, title) select '23', i.id, 'Autres types de murs isolés après 2000' from r_input i where i.name='TMUR';insert into r_input_val(value, input_id, title) select '1', i.id, 'Pierre de taille / moellons - épaisseur 20 cm' from r_input i where i.name='TMUR';insert into r_input_val(value, input_id, title) select '2', i.id, 'Pierre de taille / moellons - épaisseur 30 cm' from r_input i where i.name='TMUR';insert into r_input_val(value, input_id, title) select '3', i.id, 'Pierre de taille / moellons - épaisseur 40 cm' from r_input i where i.name='TMUR';insert into r_input_val(value, input_id, title) select '4', i.id, 'Pierre de taille / moellons - épaisseur > 50 cm' from r_input i where i.name='TMUR';insert into r_input_val(value, input_id, title) select '5', i.id, 'Murs en pans de bois - épaisseur de 10cm' from r_input i where i.name='TMUR';insert into r_input_val(value, input_id, title) select '6', i.id, 'Murs en pans de bois - épaisseur de 18cm' from r_input i where i.name='TMUR';insert into r_input_val(value, input_id, title) select '7', i.id, 'Murs en pans de bois - épaisseur > 32cm' from r_input i where i.name='TMUR';insert into r_input_val(value, input_id, title) select '8', i.id, 'Murs bois (rondins) - épaisseur 10 cm et moins' from r_input i where i.name='TMUR';insert into r_input_val(value, input_id, title) select '9', i.id, 'Murs bois (rondins) - épaisseur > 20cm' from r_input i where i.name='TMUR';insert into r_input_val(value, input_id, title) select '10', i.id, 'Murs en briques pleines - épaisseur < 10 cm' from r_input i where i.name='TMUR';insert into r_input_val(value, input_id, title) select '11', i.id, 'Murs en briques pleines - épaisseur 19 cm' from r_input i where i.name='TMUR';insert into r_input_val(value, input_id, title) select '12', i.id, 'Murs en briques pleines - épaisseur > 34 cm' from r_input i where i.name='TMUR';insert into r_input_val(value, input_id, title) select '13', i.id, 'Murs en briques creuses - épaisseur < 15 cm' from r_input i where i.name='TMUR';insert into r_input_val(value, input_id, title) select '14', i.id, 'Murs en briques creuses - épaisseur > 25 cm' from r_input i where i.name='TMUR';insert into r_input_val(value, input_id, title) select '15', i.id, 'Murs en blocs de béton creux - épaisseur < 20 cm' from r_input i where i.name='TMUR';insert into r_input_val(value, input_id, title) select '16', i.id, 'Murs en blocs de béton creux - épaisseur > 25 cm' from r_input i where i.name='TMUR';insert into r_input_val(value, input_id, title) select '17', i.id, 'Monomur terre cuite' from r_input i where i.name='TMUR';insert into r_input_val(value, input_id, title) select '18', i.id, 'Murs en béton cellulaire - épaisseur < 10 cm' from r_input i where i.name='TMUR';insert into r_input_val(value, input_id, title) select '19', i.id, 'Murs en béton cellulaire - épaisseur 20 cm' from r_input i where i.name='TMUR';insert into r_input_val(value, input_id, title) select '20', i.id, 'Murs en béton cellulaire - épaisseur > 30 cm' from r_input i where i.name='TMUR';insert into r_input(name) values('Smurs');insert into r_input(name) values('TISO');insert into r_input_val(value, input_id, title) select '1', i.id, 'Ne sais pas' from r_input i where i.name='TISO';insert into r_input_val(value, input_id, title) select '2', i.id, 'Laine de chanvre' from r_input i where i.name='TISO';insert into r_input_val(value, input_id, title) select '3', i.id, 'Laine de verre' from r_input i where i.name='TISO';insert into r_input_val(value, input_id, title) select '4', i.id, 'Laine de roche' from r_input i where i.name='TISO';insert into r_input_val(value, input_id, title) select '5', i.id, 'Cellulose' from r_input i where i.name='TISO';insert into r_input_val(value, input_id, title) select '6', i.id, 'Polystyrène expansée' from r_input i where i.name='TISO';insert into r_input_val(value, input_id, title) select '7', i.id, 'Polystyrène extrudée' from r_input i where i.name='TISO';insert into r_input_val(value, input_id, title) select '8', i.id, 'Polyuréthane' from r_input i where i.name='TISO';insert into r_input_val(value, input_id, title) select '9', i.id, 'Laine de mouton' from r_input i where i.name='TISO';insert into r_input_val(value, input_id, title) select '10', i.id, 'Plumes de canard' from r_input i where i.name='TISO';insert into r_input_val(value, input_id, title) select '11', i.id, 'Autres' from r_input i where i.name='TISO';insert into r_input(name) values('e');insert into r_input_val(value, input_id, title) select '5', i.id, '5 cm' from r_input i where i.name='e';insert into r_input_val(value, input_id, title) select '10', i.id, '10 cm' from r_input i where i.name='e';insert into r_input_val(value, input_id, title) select '15', i.id, '15 cm' from r_input i where i.name='e';insert into r_input_val(value, input_id, title) select '20', i.id, '20 cm' from r_input i where i.name='e';insert into r_input_val(value, input_id, title) select '25', i.id, '25 cm' from r_input i where i.name='e';insert into r_input_val(value, input_id, title) select '30', i.id, '30 cm' from r_input i where i.name='e';insert into r_input_val(value, input_id, title) select '35', i.id, '35 cm' from r_input i where i.name='e';insert into r_input_val(value, input_id, title) select '40', i.id, '40 cm' from r_input i where i.name='e';insert into r_input_val(value, input_id, title) select '45', i.id, '45 cm' from r_input i where i.name='e';insert into r_input_val(value, input_id, title) select '50', i.id, '50 cm' from r_input i where i.name='e';insert into r_input(name) values('TTOIT');insert into r_input_val(value, input_id, title) select '1', i.id, 'Ne sais pas ' from r_input i where i.name='TTOIT';insert into r_input_val(value, input_id, title) select '6', i.id, 'Combles aménagés sous rampants non isolés (tuiles ou ardoises)' from r_input i where i.name='TTOIT';insert into r_input_val(value, input_id, title) select '8', i.id, 'Combles perdus isolés avant 1988' from r_input i where i.name='TTOIT';insert into r_input_val(value, input_id, title) select '9', i.id, 'Combles perdus isolés entre 1989 et 2000' from r_input i where i.name='TTOIT';insert into r_input_val(value, input_id, title) select '10', i.id, 'Combles perdus isolés après 2000' from r_input i where i.name='TTOIT';insert into r_input_val(value, input_id, title) select '11', i.id, 'Combles habitables isolés avant 1988' from r_input i where i.name='TTOIT';insert into r_input_val(value, input_id, title) select '12', i.id, 'Combles habitables isolés entre 1989 et 2000' from r_input i where i.name='TTOIT';insert into r_input_val(value, input_id, title) select '13', i.id, 'Combles habitables isolés après 2000' from r_input i where i.name='TTOIT';insert into r_input_val(value, input_id, title) select '14', i.id, 'Toit terrasse isolé avant 1988' from r_input i where i.name='TTOIT';insert into r_input_val(value, input_id, title) select '15', i.id, 'Toit terrasse isolé entre 1989 et 2000' from r_input i where i.name='TTOIT';insert into r_input_val(value, input_id, title) select '16', i.id, 'Toit terrasse isolé après 2000' from r_input i where i.name='TTOIT';insert into r_input_val(value, input_id, title) select '5', i.id, 'Dalle béton non isolée' from r_input i where i.name='TTOIT';insert into r_input_val(value, input_id, title) select '7', i.id, 'Toit de chaume' from r_input i where i.name='TTOIT';insert into r_input(name) values('Stoiture');insert into r_input(name) values('TISO_unused');insert into r_input_val(value, input_id, title) select '1', i.id, 'Ne sais pas' from r_input i where i.name='TISO_unused';insert into r_input_val(value, input_id, title) select '2', i.id, 'Laine de chanvre' from r_input i where i.name='TISO_unused';insert into r_input_val(value, input_id, title) select '3', i.id, 'Laine de verre' from r_input i where i.name='TISO_unused';insert into r_input_val(value, input_id, title) select '4', i.id, 'Laine de roche' from r_input i where i.name='TISO_unused';insert into r_input_val(value, input_id, title) select '5', i.id, 'Cellulose' from r_input i where i.name='TISO_unused';insert into r_input_val(value, input_id, title) select '6', i.id, 'Polystyrène expansée' from r_input i where i.name='TISO_unused';insert into r_input_val(value, input_id, title) select '7', i.id, 'Polystyrène extrudée' from r_input i where i.name='TISO_unused';insert into r_input_val(value, input_id, title) select '8', i.id, 'Polyuréthane' from r_input i where i.name='TISO_unused';insert into r_input_val(value, input_id, title) select '9', i.id, 'Laine de mouton' from r_input i where i.name='TISO_unused';insert into r_input_val(value, input_id, title) select '10', i.id, 'Plumes de canard' from r_input i where i.name='TISO_unused';insert into r_input_val(value, input_id, title) select '11', i.id, 'Autres' from r_input i where i.name='TISO_unused';insert into r_input(name) values('NBVIT');insert into r_input(name) values('TVIT');insert into r_input_val(value, input_id, title) select '1', i.id, 'Double vitrage - chassis en bois' from r_input i where i.name='TVIT';insert into r_input_val(value, input_id, title) select '4', i.id, 'Double vitrage - chassis en PVC' from r_input i where i.name='TVIT';insert into r_input_val(value, input_id, title) select '2', i.id, 'Double vitrage à isolation renforcée - chassis en bois' from r_input i where i.name='TVIT';insert into r_input_val(value, input_id, title) select '5', i.id, 'Double vitrage à isolation renforcée - chassis en PVC' from r_input i where i.name='TVIT';insert into r_input_val(value, input_id, title) select '3', i.id, 'Double fenêtres - chassis en bois' from r_input i where i.name='TVIT';insert into r_input_val(value, input_id, title) select '6', i.id, 'Double fenêtres - chassis en PVC' from r_input i where i.name='TVIT';insert into r_input(name) values('TTV');insert into r_input_val(value, input_id, title) select '1', i.id, 'Toiture végétalisée extensive' from r_input i where i.name='TTV';insert into r_input_val(value, input_id, title) select '2', i.id, 'Toiture végétalisée semi-extensive' from r_input i where i.name='TTV';insert into r_input_val(value, input_id, title) select '3', i.id, 'Toiture végétalisée intensive' from r_input i where i.name='TTV';insert into r_input(name) values('Qecs2');insert into r_input(name) values('SECS');insert into r_input(name) values('TCH');insert into r_input_val(value, input_id, title) select '1', i.id, 'Chauffage individuel' from r_input i where i.name='TCH';insert into r_input_val(value, input_id, title) select '2', i.id, 'Chauffage collectif (avec comptage individuel)' from r_input i where i.name='TCH';insert into r_input(name) values('CF');insert into r_input_val(value, input_id, title) select '1', i.id, '1 - Appartement situé entièrement sous des combles' from r_input i where i.name='CF';insert into r_input_val(value, input_id, title) select '2', i.id, '2 - Appartement situé partiellement sous des combles ou une terrasse' from r_input i where i.name='CF';insert into r_input_val(value, input_id, title) select '3', i.id, '3 - Appartement situé entièrement sous une terrasse' from r_input i where i.name='CF';insert into r_input_val(value, input_id, title) select '4', i.id, '4 - Appartement situé en étage intermédiaire dont le plancher haut donne entièrement sur l\'extérieur ou un local non chauffé' from r_input i where i.name='CF';insert into r_input_val(value, input_id, title) select '5', i.id, '5 - Appartement situé en étage intermédiaire dont le plancher haut donne en partie sur l\'extérieur ou un local non chauffé' from r_input i where i.name='CF';insert into r_input_val(value, input_id, title) select '6', i.id, '6 - Appartement dont le plancher bas et haut donnent partiellement sur l\'extérieur ou un local non chauffé' from r_input i where i.name='CF';insert into r_input_val(value, input_id, title) select '7', i.id, '7 - Appartement en étage intermédiaire' from r_input i where i.name='CF';insert into r_input_val(value, input_id, title) select '8', i.id, '8 - Appartement dont le plancher bas donne entièrement sur l\'extérieur' from r_input i where i.name='CF';insert into r_input_val(value, input_id, title) select '9', i.id, '9 - Appartement dont le plancher bas donne en partie sur l\'extérieur' from r_input i where i.name='CF';insert into r_input_val(value, input_id, title) select '10', i.id, '10 - Appartement dont le plancher bas donne sur une cave, un parking ou un local non chauffé (poubelles, vélos, technique)' from r_input i where i.name='CF';insert into r_input_val(value, input_id, title) select '11', i.id, '10b - Appartement dont le plancher bas est sur un terre-plein' from r_input i where i.name='CF';insert into r_input_val(value, input_id, title) select '12', i.id, '11 - Appartement dont le plancher bas donne en partie sur une cave, un parking ou un local non chauffé (poubelles, vélos, technique)' from r_input i where i.name='CF';insert into r_input_val(value, input_id, title) select '13', i.id, '12 - Appartement dont les planchers bas et haut donnent entièrement sur l\'extérieur ou un local non chauffé' from r_input i where i.name='CF';insert into r_input_val(value, input_id, title) select '14', i.id, '13 - Appartement dont le plancher haut donne entièrement et le plancher bas partiellement sur l\'extérieur ou un local non chauffé' from r_input i where i.name='CF';insert into r_input_val(value, input_id, title) select '15', i.id, '14 - Appartement dont le plancher bas donne entièrement et le plancher haut partiellement sur l\'extérieur ou un local non chauffé' from r_input i where i.name='CF';insert into r_input(name) values('SAS');insert into r_input_val(value, input_id, title) select '1', i.id, 'Oui' from r_input i where i.name='SAS';insert into r_input_val(value, input_id, title) select '0', i.id, 'Non' from r_input i where i.name='SAS';insert into r_input(name) values('CC');insert into r_input_val(value, input_id, title) select '1', i.id, 'Oui' from r_input i where i.name='CC';insert into r_input_val(value, input_id, title) select '0', i.id, 'Non' from r_input i where i.name='CC';insert into r_input(name) values('PER');insert into r_input(name) values('PERInc');insert into r_input(name) values('SFEN');insert into r_input(name) values('SFENtoit');insert into r_input(name) values('TPOR');insert into r_input_val(value, input_id, title) select '1', i.id, 'Bois opaque pleine' from r_input i where i.name='TPOR';insert into r_input_val(value, input_id, title) select '2', i.id, 'Porte bois ou PVC vitrée avec moins de 30% de vitrage simple' from r_input i where i.name='TPOR';insert into r_input_val(value, input_id, title) select '3', i.id, 'Porte bois ou PVC avec 30-60% de vitrage simple' from r_input i where i.name='TPOR';insert into r_input_val(value, input_id, title) select '4', i.id, 'Porte bois ou PVC avec double vitrage' from r_input i where i.name='TPOR';insert into r_input_val(value, input_id, title) select '5', i.id, 'Porte métal opaque pleine' from r_input i where i.name='TPOR';insert into r_input_val(value, input_id, title) select '6', i.id, 'Porte métal avec vitrage simple' from r_input i where i.name='TPOR';insert into r_input_val(value, input_id, title) select '7', i.id, 'Porte métal avec moins de 30% de double vitrage' from r_input i where i.name='TPOR';insert into r_input_val(value, input_id, title) select '8', i.id, 'Porte métal avec 30-60% de double vitrage' from r_input i where i.name='TPOR';insert into r_input_val(value, input_id, title) select '9', i.id, 'Porte opaque pleine isolée' from r_input i where i.name='TPOR';insert into r_input_val(value, input_id, title) select '10', i.id, 'Porte précédée d\'un SAS' from r_input i where i.name='TPOR';insert into r_input(name) values('RI');insert into r_input_val(value, input_id, title) select '1', i.id, 'Oui: le réseau est isolé' from r_input i where i.name='RI';insert into r_input_val(value, input_id, title) select '0', i.id, 'Non: le réseau n\'est pas isolé' from r_input i where i.name='RI';insert into r_input(name) values('CH_a');insert into r_input_val(value, input_id, title) select '1', i.id, 'Convecteurs électriques' from r_input i where i.name='CH_a';insert into r_input_val(value, input_id, title) select '2', i.id, 'Panneaux rayonnants électriques' from r_input i where i.name='CH_a';insert into r_input_val(value, input_id, title) select '3', i.id, 'Plafond rayonnant électrique' from r_input i where i.name='CH_a';insert into r_input_val(value, input_id, title) select '4', i.id, 'Plancher rayonnant électrique' from r_input i where i.name='CH_a';insert into r_input_val(value, input_id, title) select '5', i.id, 'Radiateur électrique à accumulation' from r_input i where i.name='CH_a';insert into r_input_val(value, input_id, title) select '6', i.id, 'Plancher électrique à accumulation' from r_input i where i.name='CH_a';insert into r_input_val(value, input_id, title) select '9', i.id, 'Chaudière électrique individuelle' from r_input i where i.name='CH_a';insert into r_input_val(value, input_id, title) select '8', i.id, 'Split ou multisplit' from r_input i where i.name='CH_a';insert into r_input_val(value, input_id, title) select '7', i.id, 'Autres' from r_input i where i.name='CH_a';insert into r_input_val(value, input_id, title) select '12', i.id, 'Chaudière installée jusqu\'en 1988' from r_input i where i.name='CH_a';insert into r_input_val(value, input_id, title) select '13', i.id, 'Chaudière installée entre 1989 et 2000' from r_input i where i.name='CH_a';insert into r_input_val(value, input_id, title) select '14', i.id, 'Chaudière installée à partir de 2001' from r_input i where i.name='CH_a';insert into r_input_val(value, input_id, title) select '15', i.id, 'Chaudière basse température' from r_input i where i.name='CH_a';insert into r_input_val(value, input_id, title) select '16', i.id, 'Chaudière à condensation' from r_input i where i.name='CH_a';insert into r_input_val(value, input_id, title) select '10', i.id, 'Radiateurs gaz à ventouse' from r_input i where i.name='CH_a';insert into r_input_val(value, input_id, title) select '11', i.id, 'Radiateurs gaz sur conduits fumés' from r_input i where i.name='CH_a';insert into r_input_val(value, input_id, title) select '17', i.id, 'Chaudière installée jusqu\'en 1988' from r_input i where i.name='CH_a';insert into r_input_val(value, input_id, title) select '18', i.id, 'Chaudière installée entre 1989 et 2000' from r_input i where i.name='CH_a';insert into r_input_val(value, input_id, title) select '19', i.id, 'Chaudière installée à partir de 2001' from r_input i where i.name='CH_a';insert into r_input_val(value, input_id, title) select '20', i.id, 'Chaudière basse température' from r_input i where i.name='CH_a';insert into r_input_val(value, input_id, title) select '21', i.id, 'Chaudière à condensation' from r_input i where i.name='CH_a';insert into r_input_val(value, input_id, title) select '22', i.id, 'Poêle ou insert bois' from r_input i where i.name='CH_a';
insert into r_input_val(value, input_id, title) select '23', i.id, 'Chaudière collective électrique' from r_input i where i.name='CH_a';insert into r_input_val(value, input_id, title) select '24', i.id, 'Convecteurs bi-jonction' from r_input i where i.name='CH_a';insert into r_input_val(value, input_id, title) select '25', i.id, 'Plancher rayonnant électrique collectif' from r_input i where i.name='CH_a';insert into r_input_val(value, input_id, title) select '26', i.id, 'Plancher accumulation électrique' from r_input i where i.name='CH_a';insert into r_input_val(value, input_id, title) select '27', i.id, 'Chaudière installée avant 1988' from r_input i where i.name='CH_a';insert into r_input_val(value, input_id, title) select '29', i.id, 'Chaudière installée entre 1989 et 2000' from r_input i where i.name='CH_a';insert into r_input_val(value, input_id, title) select '30', i.id, 'Chaudière installée après 2001' from r_input i where i.name='CH_a';insert into r_input_val(value, input_id, title) select '31', i.id, 'Chaudière à condensation' from r_input i where i.name='CH_a';insert into r_input_val(value, input_id, title) select '32', i.id, 'Chaudière installée avant 1988' from r_input i where i.name='CH_a';insert into r_input_val(value, input_id, title) select '34', i.id, 'Chaudière installée entre 1989 et 2000' from r_input i where i.name='CH_a';insert into r_input_val(value, input_id, title) select '35', i.id, 'Chaudière installée après 2001' from r_input i where i.name='CH_a';insert into r_input_val(value, input_id, title) select '36', i.id, 'Chaudière à condensation' from r_input i where i.name='CH_a';insert into r_input_val(value, input_id, title) select '37', i.id, 'Chaudière - rendement inconnu' from r_input i where i.name='CH_a';insert into r_input_val(value, input_id, title) select '38', i.id, 'Chaudière - classe 1 (faible rendement)' from r_input i where i.name='CH_a';insert into r_input_val(value, input_id, title) select '39', i.id, 'Chaudière - classe 2 (rendement moyen)' from r_input i where i.name='CH_a';insert into r_input_val(value, input_id, title) select '40', i.id, 'Chaudière - classe 3 (rendement élevé)' from r_input i where i.name='CH_a';insert into r_input_val(value, input_id, title) select '41', i.id, 'Chaudière collective charbon' from r_input i where i.name='CH_a';insert into r_input_val(value, input_id, title) select '42', i.id, 'PAC air / eau + radiateurs' from r_input i where i.name='CH_a';insert into r_input_val(value, input_id, title) select '43', i.id, 'PAC air / eau + plancher chauffant' from r_input i where i.name='CH_a';insert into r_input_val(value, input_id, title) select '44', i.id, 'PAC eau / eau + radiateurs' from r_input i where i.name='CH_a';insert into r_input_val(value, input_id, title) select '45', i.id, 'PAC eau / eau + plancher chauffant' from r_input i where i.name='CH_a';insert into r_input_val(value, input_id, title) select '46', i.id, 'PAC géothermique + radiateurs' from r_input i where i.name='CH_a';insert into r_input_val(value, input_id, title) select '47', i.id, 'PAC géothermique + plancher chauffant' from r_input i where i.name='CH_a';insert into r_input_val(value, input_id, title) select '48', i.id, 'Réseau de chaleur' from r_input i where i.name='CH_a';insert into r_input_val(value, input_id, title) select '49', i.id, 'Pompe  à chaleur Air - Air' from r_input i where i.name='CH_a';insert into r_input(name) values('ECS_a');insert into r_input_val(value, input_id, title) select '1', i.id, 'Chauffe-eau installé il y a plus de 15 ans' from r_input i where i.name='ECS_a';insert into r_input_val(value, input_id, title) select '2', i.id, 'Chauffe-eau installé entre 5 et 15 ans' from r_input i where i.name='ECS_a';insert into r_input_val(value, input_id, title) select '3', i.id, 'Chauffe-eau installé il y a moins de 5 ans' from r_input i where i.name='ECS_a';insert into r_input_val(value, input_id, title) select '4', i.id, 'Chauffe-eau électrique instantané' from r_input i where i.name='ECS_a';insert into r_input_val(value, input_id, title) select '6', i.id, 'Chaudière installée jusqu\'en 1988' from r_input i where i.name='ECS_a';insert into r_input_val(value, input_id, title) select '7', i.id, 'Chaudière installée entre 1988 et 2000' from r_input i where i.name='ECS_a';insert into r_input_val(value, input_id, title) select '8', i.id, 'Chaudière installée à partir de 2001' from r_input i where i.name='ECS_a';insert into r_input_val(value, input_id, title) select '9', i.id, 'Chaudière basse température' from r_input i where i.name='ECS_a';insert into r_input_val(value, input_id, title) select '10', i.id, 'Chaudière à condensation' from r_input i where i.name='ECS_a';insert into r_input_val(value, input_id, title) select '5', i.id, 'Chauffe-bain gaz' from r_input i where i.name='ECS_a';insert into r_input_val(value, input_id, title) select '11', i.id, 'Chaudière installée jusqu\'en 1988' from r_input i where i.name='ECS_a';insert into r_input_val(value, input_id, title) select '12', i.id, 'Chaudière installée entre 1989 et 2000' from r_input i where i.name='ECS_a';insert into r_input_val(value, input_id, title) select '13', i.id, 'Chaudière installée à partir de 2001' from r_input i where i.name='ECS_a';insert into r_input_val(value, input_id, title) select '14', i.id, 'Chaudière basse température' from r_input i where i.name='ECS_a';insert into r_input_val(value, input_id, title) select '15', i.id, 'Chaudière à condensation' from r_input i where i.name='ECS_a';insert into r_input_val(value, input_id, title) select '16', i.id, 'Collectif électrique' from r_input i where i.name='ECS_a';insert into r_input_val(value, input_id, title) select '17', i.id, 'Chaudière installée jusqu\'en 1988' from r_input i where i.name='ECS_a';insert into r_input_val(value, input_id, title) select '19', i.id, 'Chaudière installée entre 1989 et 2000' from r_input i where i.name='ECS_a';insert into r_input_val(value, input_id, title) select '20', i.id, 'Chaudière installée à partir de 2001' from r_input i where i.name='ECS_a';insert into r_input_val(value, input_id, title) select '21', i.id, 'Chaudière à condensation' from r_input i where i.name='ECS_a';insert into r_input_val(value, input_id, title) select '22', i.id, 'Accumulateur gaz' from r_input i where i.name='ECS_a';insert into r_input_val(value, input_id, title) select '23', i.id, 'Accumulateur gaz condensation' from r_input i where i.name='ECS_a';insert into r_input_val(value, input_id, title) select '24', i.id, 'Chaudière installée jusqu\'en 1988' from r_input i where i.name='ECS_a';insert into r_input_val(value, input_id, title) select '26', i.id, 'Chaudière installée entre 1989 et 2000' from r_input i where i.name='ECS_a';insert into r_input_val(value, input_id, title) select '27', i.id, 'Chaudière installée à partir de 2001' from r_input i where i.name='ECS_a';insert into r_input_val(value, input_id, title) select '28', i.id, 'Chaudière à condensation' from r_input i where i.name='ECS_a';insert into r_input_val(value, input_id, title) select '29', i.id, 'Chaudière collective Bois' from r_input i where i.name='ECS_a';insert into r_input_val(value, input_id, title) select '30', i.id, 'Chaudière collective Charbon' from r_input i where i.name='ECS_a';insert into r_input_val(value, input_id, title) select '31', i.id, 'Réseau de chaleur' from r_input i where i.name='ECS_a';insert into r_input(name) values('BigCF');insert into r_input_val(value, input_id) select '0', i.id from r_input i where i.name='BigCF';insert into r_input_val(value, input_id) select '1', i.id from r_input i where i.name='BigCF';insert into r_input(name) values('ETAT');insert into r_input_val(value, input_id, title,image_url) select '1', i.id, 'Dernier étage', 'CF_1.png' from r_input i where i.name='ETAT';insert into r_input_val(value, input_id, title,image_url) select '7', i.id, 'Etage intermédiaire', 'CF_7.png' from r_input i where i.name='ETAT';insert into r_input_val(value, input_id, title,image_url) select '10', i.id, 'Rez-de-chaussée', 'CF_10.png' from r_input i where i.name='ETAT';insert into r_input(name) values('CF_base');insert into r_input_val(value, input_id, title,image_url) select '1', i.id, 'Situé entièrement sous des combles', 'CF_1.png' from r_input i where i.name='CF_base';insert into r_input_val(value, input_id, title,image_url) select '2', i.id, 'Situé partiellement sous des combles ou une terrasse', 'CF_2.png' from r_input i where i.name='CF_base';insert into r_input_val(value, input_id, title,image_url) select '3', i.id, 'Situé entièrement sous une terrasse', 'CF_3.png' from r_input i where i.name='CF_base';insert into r_input_val(value, input_id, title,image_url) select '10', i.id, 'Le plancher bas donne sur une cave, un parking ou un local non chauffé', 'CF_10.png' from r_input i where i.name='CF_base';insert into r_input_val(value, input_id, title,image_url) select '11', i.id, 'Le plancher bas est sur un terre-plein', 'CF_10.png' from r_input i where i.name='CF_base';insert into r_input(name) values('SdispText');insert into r_input(name) values('BEAU');insert into r_input(name) values('COP');insert into r_input(name) values('VmoyCond');insert into r_input_val(value, input_id, title) select '1', i.id, 'Oui' from r_input i where i.name='VmoyCond';insert into r_input_val(value, input_id, title) select '0', i.id, 'Non' from r_input i where i.name='VmoyCond';insert into r_input(name) values('TSOL');insert into r_input_val(value, input_id, title) select '1', i.id, 'Ne sais pas ' from r_input i where i.name='TSOL';insert into r_input_val(value, input_id, title) select '5', i.id, 'Plancher bois sur solives bois' from r_input i where i.name='TSOL';insert into r_input_val(value, input_id, title) select '7', i.id, 'Plancher bois sur solives metalliques' from r_input i where i.name='TSOL';insert into r_input_val(value, input_id, title) select '8', i.id, 'Voutains sur solives metalliques' from r_input i where i.name='TSOL';insert into r_input_val(value, input_id, title) select '9', i.id, 'Plancher lourd type / dalle béton' from r_input i where i.name='TSOL';insert into r_input_val(value, input_id, title) select '10', i.id, 'Voutains en briques ou moellons' from r_input i where i.name='TSOL';insert into r_input_val(value, input_id, title) select '11', i.id, 'Plancher isolé avant 1988' from r_input i where i.name='TSOL';insert into r_input_val(value, input_id, title) select '12', i.id, 'Plancher isolé entre 1989 et 2000' from r_input i where i.name='TSOL';insert into r_input_val(value, input_id, title) select '13', i.id, 'Plancher isolé après 2000' from r_input i where i.name='TSOL';insert into r_input(name) values('CHOIX_ISO');insert into r_input_val(value, input_id, title) select 'mur', i.id, 'Les murs' from r_input i where i.name='CHOIX_ISO';insert into r_input_val(value, input_id, title) select 'toit', i.id, 'Le toit / plafond' from r_input i where i.name='CHOIX_ISO';insert into r_input_val(value, input_id, title) select 'sol', i.id, 'Le plancher' from r_input i where i.name='CHOIX_ISO';insert into r_input(name) values('Ssol');insert into r_input(name) values('Rendement');insert into r_input_val(value, input_id, title) select '1.53', i.id, 'Chaudière gaz à condensation' from r_input i where i.name='Rendement';insert into r_input_val(value, input_id, title) select '2', i.id, 'Chaudière à granulés de bois' from r_input i where i.name='Rendement';insert into r_input(name) values('TypeIsoMur');insert into r_input_val(value, input_id, title) select '1', i.id, 'Par l\'intérieur' from r_input i where i.name='TypeIsoMur';insert into r_input_val(value, input_id, title) select '2', i.id, 'Par l\'extérieur' from r_input i where i.name='TypeIsoMur';insert into r_input(name) values('TypeConsoPV');insert into r_input_val(value, input_id, title) select '1', i.id, 'Pour la revente à EDF' from r_input i where i.name='TypeConsoPV';insert into r_input_val(value, input_id, title) select '0', i.id, 'Pour de l\'Autoconsommation' from r_input i where i.name='TypeConsoPV';insert into r_input(name) values('WCpro');insert into r_input_val(value, input_id, title) select '6000', i.id, '6 kWc' from r_input i where i.name='WCpro';insert into r_input_val(value, input_id, title) select '9000', i.id, '9 kWc' from r_input i where i.name='WCpro';insert into r_input_val(value, input_id, title) select '15000', i.id, '15 kWc' from r_input i where i.name='WCpro';
insert into r_result(name) values('ARA');insert into r_result_val(value, result_id) select '0.45', r.id from r_result r where r.name='ARA';insert into r_result_val(value, result_id) select '0.35', r.id from r_result r where r.name='ARA';insert into r_result_val(value, result_id) select '0.3', r.id from r_result r where r.name='ARA';insert into r_result_val(value, result_id) select '0.23', r.id from r_result r where r.name='ARA';insert into r_result_val(value, result_id) select '0.2', r.id from r_result r where r.name='ARA';insert into r_result_val(value, result_id) select '0.16', r.id from r_result r where r.name='ARA';insert into r_result_val(value, result_id) select '0.14', r.id from r_result r where r.name='ARA';insert into r_result_val(value, result_id) select '0.1', r.id from r_result r where r.name='ARA';insert into r_result(name) values('alpha');insert into r_result_val(value, result_id) select '22.9', r.id from r_result r where r.name='alpha';insert into r_result_val(value, result_id) select '21.7', r.id from r_result r where r.name='alpha';insert into r_result_val(value, result_id) select '18.1', r.id from r_result r where r.name='alpha';insert into r_result(name) values('sse');insert into r_result_val(value, result_id) select '0.03', r.id from r_result r where r.name='sse';insert into r_result_val(value, result_id) select '0.05', r.id from r_result r where r.name='sse';insert into r_result(name) values('Tef');insert into r_result_val(value, result_id) select '10.5', r.id from r_result r where r.name='Tef';insert into r_result_val(value, result_id) select '12', r.id from r_result r where r.name='Tef';insert into r_result_val(value, result_id) select '14.5', r.id from r_result r where r.name='Tef';insert into r_result(name) values('Iaux vent');insert into r_result_val(value, result_id) select '0', r.id from r_result r where r.name='Iaux vent';insert into r_result_val(value, result_id) select '0', r.id from r_result r where r.name='Iaux vent';insert into r_result_val(value, result_id) select '0', r.id from r_result r where r.name='Iaux vent';insert into r_result_val(value, result_id) select '0', r.id from r_result r where r.name='Iaux vent';insert into r_result_val(value, result_id) select '3', r.id from r_result r where r.name='Iaux vent';insert into r_result_val(value, result_id) select '3', r.id from r_result r where r.name='Iaux vent';insert into r_result_val(value, result_id) select '3', r.id from r_result r where r.name='Iaux vent';insert into r_result_val(value, result_id) select '7.5', r.id from r_result r where r.name='Iaux vent';insert into r_result(name) values('C');insert into r_result_val(value, result_id) select '0', r.id from r_result r where r.name='C';insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='C';insert into r_result(name) values('DENS');insert into r_result_val(value, result_id) select '1542', r.id from r_result r where r.name='DENS';insert into r_result_val(value, result_id) select '2083', r.id from r_result r where r.name='DENS';insert into r_result_val(value, result_id) select '2630', r.id from r_result r where r.name='DENS';insert into r_result(name) values('FPCI1');insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='FPCI1';insert into r_result_val(value, result_id) select '1.11', r.id from r_result r where r.name='FPCI1';insert into r_result_val(value, result_id) select '1.09', r.id from r_result r where r.name='FPCI1';insert into r_result_val(value, result_id) select '1.07', r.id from r_result r where r.name='FPCI1';insert into r_result_val(value, result_id) select '1.11', r.id from r_result r where r.name='FPCI1';insert into r_result_val(value, result_id) select '1.04', r.id from r_result r where r.name='FPCI1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='FPCI1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='FPCI1';insert into r_result(name) values('FPCI2');insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='FPCI2';insert into r_result_val(value, result_id) select '1.11', r.id from r_result r where r.name='FPCI2';insert into r_result_val(value, result_id) select '1.09', r.id from r_result r where r.name='FPCI2';insert into r_result_val(value, result_id) select '1.07', r.id from r_result r where r.name='FPCI2';insert into r_result_val(value, result_id) select '1.11', r.id from r_result r where r.name='FPCI2';insert into r_result_val(value, result_id) select '1.04', r.id from r_result r where r.name='FPCI2';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='FPCI2';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='FPCI2';insert into r_result(name) values('FEP1');insert into r_result_val(value, result_id) select '2.58', r.id from r_result r where r.name='FEP1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='FEP1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='FEP1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='FEP1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='FEP1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='FEP1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='FEP1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='FEP1';insert into r_result(name) values('FEP2');insert into r_result_val(value, result_id) select '2.58', r.id from r_result r where r.name='FEP2';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='FEP2';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='FEP2';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='FEP2';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='FEP2';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='FEP2';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='FEP2';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='FEP2';insert into r_result(name) values('FCO21');insert into r_result_val(value, result_id) select '0.18', r.id from r_result r where r.name='FCO21';insert into r_result_val(value, result_id) select '0.234', r.id from r_result r where r.name='FCO21';insert into r_result_val(value, result_id) select '0.274', r.id from r_result r where r.name='FCO21';insert into r_result_val(value, result_id) select '0.3', r.id from r_result r where r.name='FCO21';insert into r_result_val(value, result_id) select '0.013', r.id from r_result r where r.name='FCO21';insert into r_result_val(value, result_id) select '0.384', r.id from r_result r where r.name='FCO21';insert into r_result_val(value, result_id) select '0.18', r.id from r_result r where r.name='FCO21';insert into r_result_val(value, result_id) select '0.384', r.id from r_result r where r.name='FCO21';insert into r_result(name) values('FCO22');insert into r_result_val(value, result_id) select '0.04', r.id from r_result r where r.name='FCO22';insert into r_result_val(value, result_id) select '0.234', r.id from r_result r where r.name='FCO22';insert into r_result_val(value, result_id) select '0.274', r.id from r_result r where r.name='FCO22';insert into r_result_val(value, result_id) select '0.3', r.id from r_result r where r.name='FCO22';insert into r_result_val(value, result_id) select '0.013', r.id from r_result r where r.name='FCO22';insert into r_result_val(value, result_id) select '0.384', r.id from r_result r where r.name='FCO22';insert into r_result_val(value, result_id) select '0.04', r.id from r_result r where r.name='FCO22';insert into r_result_val(value, result_id) select '0.384', r.id from r_result r where r.name='FCO22';insert into r_result(name) values('FOR');insert into r_result_val(value, result_id) select '4.12', r.id from r_result r where r.name='FOR';insert into r_result_val(value, result_id) select '4.81', r.id from r_result r where r.name='FOR';insert into r_result_val(value, result_id) select '5.71', r.id from r_result r where r.name='FOR';insert into r_result(name) values('MITA');insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='MITA';insert into r_result_val(value, result_id) select '0.8', r.id from r_result r where r.name='MITA';insert into r_result_val(value, result_id) select '0.7', r.id from r_result r where r.name='MITA';insert into r_result_val(value, result_id) select '0.7', r.id from r_result r where r.name='MITA';insert into r_result_val(value, result_id) select '0.5', r.id from r_result r where r.name='MITA';insert into r_result_val(value, result_id) select '0.35', r.id from r_result r where r.name='MITA';insert into r_result(name) values('CNIV');insert into r_result_val(value, result_id) select '0', r.id from r_result r where r.name='CNIV';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='CNIV';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='CNIV';insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='CNIV';insert into r_result(name) values('CCONF');insert into r_result_val(value, result_id) select '1.5', r.id from r_result r where r.name='CCONF';insert into r_result_val(value, result_id) select '3.5', r.id from r_result r where r.name='CCONF';insert into r_result_val(value, result_id) select '6.5', r.id from r_result r where r.name='CCONF';insert into r_result(name) values('CCENT');insert into r_result_val(value, result_id) select '0', r.id from r_result r where r.name='CCENT';insert into r_result_val(value, result_id) select '0', r.id from r_result r where r.name='CCENT';insert into r_result_val(value, result_id) select '0', r.id from r_result r where r.name='CCENT';insert into r_result_val(value, result_id) select '0', r.id from r_result r where r.name='CCENT';insert into r_result_val(value, result_id) select '0', r.id from r_result r where r.name='CCENT';insert into r_result_val(value, result_id) select '0', r.id from r_result r where r.name='CCENT';insert into r_result_val(value, result_id) select '0', r.id from r_result r where r.name='CCENT';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='CCENT';insert into r_result_val(value, result_id) select '0', r.id from r_result r where r.name='CCENT';insert into r_result_val(value, result_id) select '0', r.id from r_result r where r.name='CCENT';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='CCENT';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='CCENT';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='CCENT';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='CCENT';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='CCENT';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='CCENT';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='CCENT';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='CCENT';insert into r_result_val(value, result_id) select '0', r.id from r_result r where r.name='CCENT';insert into r_result_val(value, result_id) select '0', r.id from r_result r where r.name='CCENT';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='CCENT';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='CCENT';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='CCENT';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='CCENT';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='CCENT';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='CCENT';insert into r_result_val(value, result_id) select '0', r.id from r_result r where r.name='CCENT';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='CCENT';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='CCENT';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='CCENT';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='CCENT';insert into r_result_val(value, result_id) select '0', r.id from r_result r where r.name='CCENT';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='CCENT';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='CCENT';insert into r_result_val(value, result_id) select '0', r.id from r_result r where r.name='CCENT';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='CCENT';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='CCENT';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='CCENT';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='CCENT';
insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.45' and r.name='ARA' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='VENT' and iv.value='1')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.35' and r.name='ARA' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='VENT' and iv.value='2')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.3' and r.name='ARA' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='VENT' and iv.value='3')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.23' and r.name='ARA' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='VENT' and iv.value='4')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.2' and r.name='ARA' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='VENT' and iv.value='5')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.16' and r.name='ARA' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='VENT' and iv.value='6')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.14' and r.name='ARA' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='VENT' and iv.value='7')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.1' and r.name='ARA' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='VENT' and iv.value='8')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='22.9' and r.name='alpha' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='ZHIV' and iv.value='1')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='21.7' and r.name='alpha' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='ZHIV' and iv.value='2')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='18.1' and r.name='alpha' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='ZHIV' and iv.value='3')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.03' and r.name='sse' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='VER' and iv.value='0')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.05' and r.name='sse' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='VER' and iv.value='1')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='10.5' and r.name='Tef' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='ZHIV' and iv.value='1')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='12' and r.name='Tef' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='ZHIV' and iv.value='2')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='14.5' and r.name='Tef' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='ZHIV' and iv.value='3')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0' and r.name='Iaux vent' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='VENT' and iv.value='1')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0' and r.name='Iaux vent' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='VENT' and iv.value='2')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0' and r.name='Iaux vent' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='VENT' and iv.value='3')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0' and r.name='Iaux vent' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='VENT' and iv.value='4')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='3' and r.name='Iaux vent' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='VENT' and iv.value='5')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='3' and r.name='Iaux vent' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='VENT' and iv.value='6')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='3' and r.name='Iaux vent' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='VENT' and iv.value='7')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='7.5' and r.name='Iaux vent' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='VENT' and iv.value='8')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0' and r.name='C' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='CLIM' and iv.value='0')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='2' and r.name='C' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='CLIM' and iv.value='1')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1542' and r.name='DENS' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='ZHIV' and iv.value='1')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='2083' and r.name='DENS' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='ZHIV' and iv.value='2')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='2630' and r.name='DENS' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='ZHIV' and iv.value='3')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1' and r.name='FPCI1' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='ENCH' and iv.value='1')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.11' and r.name='FPCI1' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='ENCH' and iv.value='2')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.09' and r.name='FPCI1' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='ENCH' and iv.value='3')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.07' and r.name='FPCI1' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='ENCH' and iv.value='4')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.11' and r.name='FPCI1' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='ENCH' and iv.value='5')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.04' and r.name='FPCI1' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='ENCH' and iv.value='6')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1' and r.name='FPCI1' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='ENCH' and iv.value='7')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1' and r.name='FPCI1' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='ENCH' and iv.value='8')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1' and r.name='FPCI2' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='ENECS' and iv.value='1')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.11' and r.name='FPCI2' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='ENECS' and iv.value='2')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.09' and r.name='FPCI2' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='ENECS' and iv.value='3')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.07' and r.name='FPCI2' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='ENECS' and iv.value='4')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.11' and r.name='FPCI2' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='ENECS' and iv.value='5')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.04' and r.name='FPCI2' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='ENECS' and iv.value='6')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1' and r.name='FPCI2' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='ENECS' and iv.value='7')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1' and r.name='FPCI2' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='ENECS' and iv.value='8')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='2.58' and r.name='FEP1' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='ENCH' and iv.value='1')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1' and r.name='FEP1' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='ENCH' and iv.value='2')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1' and r.name='FEP1' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='ENCH' and iv.value='3')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1' and r.name='FEP1' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='ENCH' and iv.value='4')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1' and r.name='FEP1' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='ENCH' and iv.value='5')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1' and r.name='FEP1' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='ENCH' and iv.value='6')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1' and r.name='FEP1' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='ENCH' and iv.value='7')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1' and r.name='FEP1' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='ENCH' and iv.value='8')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='2.58' and r.name='FEP2' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='ENECS' and iv.value='1')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1' and r.name='FEP2' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='ENECS' and iv.value='2')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1' and r.name='FEP2' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='ENECS' and iv.value='3')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1' and r.name='FEP2' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='ENECS' and iv.value='4')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1' and r.name='FEP2' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='ENECS' and iv.value='5')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1' and r.name='FEP2' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='ENECS' and iv.value='6')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1' and r.name='FEP2' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='ENECS' and iv.value='7')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1' and r.name='FEP2' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='ENECS' and iv.value='8')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.18' and r.name='FCO21' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='ENCH' and iv.value='1')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.234' and r.name='FCO21' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='ENCH' and iv.value='2')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.274' and r.name='FCO21' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='ENCH' and iv.value='3')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.3' and r.name='FCO21' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='ENCH' and iv.value='4')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.013' and r.name='FCO21' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='ENCH' and iv.value='5')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.384' and r.name='FCO21' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='ENCH' and iv.value='6')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.18' and r.name='FCO21' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='ENCH' and iv.value='7')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.384' and r.name='FCO21' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='ENCH' and iv.value='8')  );
insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.04' and r.name='FCO22' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='ENECS' and iv.value='1')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.234' and r.name='FCO22' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='ENECS' and iv.value='2')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.274' and r.name='FCO22' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='ENECS' and iv.value='3')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.3' and r.name='FCO22' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='ENECS' and iv.value='4')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.013' and r.name='FCO22' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='ENECS' and iv.value='5')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.384' and r.name='FCO22' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='ENECS' and iv.value='6')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.04' and r.name='FCO22' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='ENECS' and iv.value='7')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.384' and r.name='FCO22' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='ENECS' and iv.value='8')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='4.12' and r.name='FOR' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='CONF' and iv.value='1')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='4.81' and r.name='FOR' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='CONF' and iv.value='2')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='5.71' and r.name='FOR' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='CONF' and iv.value='3')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1' and r.name='MITA' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='MIT' and iv.value='1')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.8' and r.name='MITA' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='MIT' and iv.value='2')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.7' and r.name='MITA' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='MIT' and iv.value='3')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.7' and r.name='MITA' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='MIT' and iv.value='4')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.5' and r.name='MITA' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='MIT' and iv.value='5')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.35' and r.name='MITA' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='MIT' and iv.value='6')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0' and r.name='CNIV' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='NIV' and iv.value='1')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1' and r.name='CNIV' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='NIV' and iv.value='1.5')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1' and r.name='CNIV' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='NIV' and iv.value='2')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='2' and r.name='CNIV' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='NIV' and iv.value='2.5')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.5' and r.name='CCONF' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='CONF' and iv.value='1')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='3.5' and r.name='CCONF' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='CONF' and iv.value='2')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='6.5' and r.name='CCONF' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='CONF' and iv.value='3')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0' and r.name='CCENT' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='CH' and iv.value='1')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0' and r.name='CCENT' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='CH' and iv.value='2')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0' and r.name='CCENT' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='CH' and iv.value='3')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0' and r.name='CCENT' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='CH' and iv.value='4')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0' and r.name='CCENT' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='CH' and iv.value='5')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0' and r.name='CCENT' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='CH' and iv.value='6')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0' and r.name='CCENT' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='CH' and iv.value='7')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1' and r.name='CCENT' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='CH' and iv.value='8')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0' and r.name='CCENT' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='CH' and iv.value='9')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0' and r.name='CCENT' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='CH' and iv.value='10')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1' and r.name='CCENT' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='CH' and iv.value='11')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1' and r.name='CCENT' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='CH' and iv.value='12')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1' and r.name='CCENT' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='CH' and iv.value='13')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1' and r.name='CCENT' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='CH' and iv.value='14')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1' and r.name='CCENT' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='CH' and iv.value='15')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1' and r.name='CCENT' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='CH' and iv.value='16')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1' and r.name='CCENT' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='CH' and iv.value='17')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1' and r.name='CCENT' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='CH' and iv.value='18')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0' and r.name='CCENT' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='CH' and iv.value='19')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0' and r.name='CCENT' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='CH' and iv.value='20')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1' and r.name='CCENT' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='CH' and iv.value='21')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1' and r.name='CCENT' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='CH' and iv.value='22')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1' and r.name='CCENT' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='CH' and iv.value='23')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1' and r.name='CCENT' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='CH' and iv.value='24')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1' and r.name='CCENT' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='CH' and iv.value='25')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1' and r.name='CCENT' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='CH' and iv.value='26')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0' and r.name='CCENT' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='CH' and iv.value='27')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1' and r.name='CCENT' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='CH' and iv.value='28')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1' and r.name='CCENT' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='CH' and iv.value='29')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1' and r.name='CCENT' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='CH' and iv.value='30')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1' and r.name='CCENT' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='CH' and iv.value='31')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0' and r.name='CCENT' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='CH' and iv.value='32')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1' and r.name='CCENT' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='CH' and iv.value='33')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1' and r.name='CCENT' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='CH' and iv.value='34')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0' and r.name='CCENT' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='CH' and iv.value='35')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1' and r.name='CCENT' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='CH' and iv.value='36')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1' and r.name='CCENT' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='CH' and iv.value='37')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1' and r.name='CCENT' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='CH' and iv.value='38')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1' and r.name='CCENT' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='CH' and iv.value='39')  );
insert into r_result(name) values('IecsB');insert into r_result_val(value, result_id) select '1.75', r.id from r_result r where r.name='IecsB';insert into r_result_val(value, result_id) select '1.59', r.id from r_result r where r.name='IecsB'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.75' and r.name='IecsB' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='B' and iv.value='1')    or (i.name='ECS' and iv.value='1')     );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.59' and r.name='IecsB' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='B' and iv.value='2')    or (i.name='ECS' and iv.value='1')     );insert into r_result_val(value, result_id) select '1.59', r.id from r_result r where r.name='IecsB';insert into r_result_val(value, result_id) select '1.48', r.id from r_result r where r.name='IecsB'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.59' and r.name='IecsB' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='B' and iv.value='1')    or (i.name='ECS' and iv.value='2')     );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.48' and r.name='IecsB' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='B' and iv.value='2')    or (i.name='ECS' and iv.value='2')     );insert into r_result_val(value, result_id) select '1.52', r.id from r_result r where r.name='IecsB';insert into r_result_val(value, result_id) select '1.44', r.id from r_result r where r.name='IecsB'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.52' and r.name='IecsB' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='B' and iv.value='1')    or (i.name='ECS' and iv.value='3')     );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.44' and r.name='IecsB' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='B' and iv.value='2')    or (i.name='ECS' and iv.value='3')     );insert into r_result(name) values('IecsG');insert into r_result_val(value, result_id) select '2.07', r.id from r_result r where r.name='IecsG';insert into r_result_val(value, result_id) select '3.27', r.id from r_result r where r.name='IecsG'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='2.07' and r.name='IecsG' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='G' and iv.value='1')    or (i.name='ECS' and iv.value='6')     );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='3.27' and r.name='IecsG' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='G' and iv.value='2')    or (i.name='ECS' and iv.value='6')     );insert into r_result_val(value, result_id) select '1.93', r.id from r_result r where r.name='IecsG';insert into r_result_val(value, result_id) select '3.02', r.id from r_result r where r.name='IecsG'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.93' and r.name='IecsG' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='G' and iv.value='1')    or (i.name='ECS' and iv.value='7')     );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='3.02' and r.name='IecsG' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='G' and iv.value='2')    or (i.name='ECS' and iv.value='7')     );insert into r_result_val(value, result_id) select '1.84', r.id from r_result r where r.name='IecsG';insert into r_result_val(value, result_id) select '2.16', r.id from r_result r where r.name='IecsG'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.84' and r.name='IecsG' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='G' and iv.value='1')    or (i.name='ECS' and iv.value='8')     );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='2.16' and r.name='IecsG' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='G' and iv.value='2')    or (i.name='ECS' and iv.value='8')     );insert into r_result_val(value, result_id) select '1.75', r.id from r_result r where r.name='IecsG';insert into r_result_val(value, result_id) select '2.01', r.id from r_result r where r.name='IecsG'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.75' and r.name='IecsG' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='G' and iv.value='1')    or (i.name='ECS' and iv.value='9')     );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='2.01' and r.name='IecsG' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='G' and iv.value='2')    or (i.name='ECS' and iv.value='9')     );insert into r_result_val(value, result_id) select '1.57', r.id from r_result r where r.name='IecsG';insert into r_result_val(value, result_id) select '1.96', r.id from r_result r where r.name='IecsG'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.57' and r.name='IecsG' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='G' and iv.value='1')    or (i.name='ECS' and iv.value='10')     );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.96' and r.name='IecsG' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='G' and iv.value='2')    or (i.name='ECS' and iv.value='10')     );insert into r_result_val(value, result_id) select '1.51', r.id from r_result r where r.name='IecsG';insert into r_result_val(value, result_id) select '1.89', r.id from r_result r where r.name='IecsG'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.51' and r.name='IecsG' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='G' and iv.value='1')    or (i.name='ECS' and iv.value='11')     );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.89' and r.name='IecsG' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='G' and iv.value='2')    or (i.name='ECS' and iv.value='11')     );insert into r_result(name) values('IecsDef');insert into r_result_val(value, result_id) select '1.2', r.id from r_result r where r.name='IecsDef'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.2' and r.name='IecsDef' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (   (i.name='ECS' and iv.value='4')     ); insert into r_result_val(value, result_id) select '2.1', r.id from r_result r where r.name='IecsDef'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='2.1' and r.name='IecsDef' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (   (i.name='ECS' and iv.value='5')     ); insert into r_result_val(value, result_id) select '3.27', r.id from r_result r where r.name='IecsDef'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='3.27' and r.name='IecsDef' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (   (i.name='ECS' and iv.value='12')     ); insert into r_result_val(value, result_id) select '3.02', r.id from r_result r where r.name='IecsDef'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='3.02' and r.name='IecsDef' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (   (i.name='ECS' and iv.value='13')     ); insert into r_result_val(value, result_id) select '2.16', r.id from r_result r where r.name='IecsDef'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='2.16' and r.name='IecsDef' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (   (i.name='ECS' and iv.value='14')     ); insert into r_result_val(value, result_id) select '2.01', r.id from r_result r where r.name='IecsDef'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='2.01' and r.name='IecsDef' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (   (i.name='ECS' and iv.value='15')     ); insert into r_result_val(value, result_id) select '1.96', r.id from r_result r where r.name='IecsDef'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.96' and r.name='IecsDef' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (   (i.name='ECS' and iv.value='16')     ); insert into r_result_val(value, result_id) select '5.45', r.id from r_result r where r.name='IecsDef'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='5.45' and r.name='IecsDef' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (   (i.name='ECS' and iv.value='17')     ); insert into r_result_val(value, result_id) select '4.74', r.id from r_result r where r.name='IecsDef'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='4.74' and r.name='IecsDef' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (   (i.name='ECS' and iv.value='18')     ); insert into r_result_val(value, result_id) select '3.99', r.id from r_result r where r.name='IecsDef'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='3.99' and r.name='IecsDef' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (   (i.name='ECS' and iv.value='19')     ); insert into r_result_val(value, result_id) select '3.44', r.id from r_result r where r.name='IecsDef'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='3.44' and r.name='IecsDef' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (   (i.name='ECS' and iv.value='20')     ); insert into r_result_val(value, result_id) select '3.31', r.id from r_result r where r.name='IecsDef'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='3.31' and r.name='IecsDef' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (   (i.name='ECS' and iv.value='21')     ); insert into r_result_val(value, result_id) select '0.86', r.id from r_result r where r.name='IecsDef'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.86' and r.name='IecsDef' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (   (i.name='ECS' and iv.value='22')     ); insert into r_result_val(value, result_id) select '1.55', r.id from r_result r where r.name='IecsDef'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.55' and r.name='IecsDef' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (   (i.name='ECS' and iv.value='23')     ); 
insert into r_result(name) values('Rclim');
insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='Rclim';insert into r_result_val(value, result_id) select '4', r.id from r_result r where r.name='Rclim';insert into r_result_val(value, result_id) select '3', r.id from r_result r where r.name='Rclim';insert into r_result_val(value, result_id) select '5', r.id from r_result r where r.name='Rclim';insert into r_result_val(value, result_id) select '4', r.id from r_result r where r.name='Rclim';insert into r_result_val(value, result_id) select '6', r.id from r_result r where r.name='Rclim';insert into r_result_val(value, result_id) select '5', r.id from r_result r where r.name='Rclim';insert into r_result_val(value, result_id) select '7', r.id from r_result r where r.name='Rclim';
insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='2' and r.name='Rclim' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='ZETE' and iv.value='1')    or (i.name='BigSclim' and iv.value='0')     );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='4' and r.name='Rclim' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='ZETE' and iv.value='1')    or (i.name='BigSclim' and iv.value='1')     );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='3' and r.name='Rclim' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='ZETE' and iv.value='2')    or (i.name='BigSclim' and iv.value='0')     );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='5' and r.name='Rclim' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='ZETE' and iv.value='2')    or (i.name='BigSclim' and iv.value='1')     );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='4' and r.name='Rclim' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='ZETE' and iv.value='3')    or (i.name='BigSclim' and iv.value='0')     );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='6' and r.name='Rclim' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='ZETE' and iv.value='3')    or (i.name='BigSclim' and iv.value='1')     );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='5' and r.name='Rclim' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='ZETE' and iv.value='4')    or (i.name='BigSclim' and iv.value='0')     );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='7' and r.name='Rclim' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='ZETE' and iv.value='4')    or (i.name='BigSclim' and iv.value='1')     );
insert into r_result(name) values('MITB');insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='MITB';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='MITB';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='MITB'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1' and r.name='MITB' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CONF' and iv.value='1')    or (i.name='MIT' and iv.value='1')     );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1' and r.name='MITB' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CONF' and iv.value='2')    or (i.name='MIT' and iv.value='1')     );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1' and r.name='MITB' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CONF' and iv.value='3')    or (i.name='MIT' and iv.value='1')     );insert into r_result_val(value, result_id) select '0.8', r.id from r_result r where r.name='MITB';insert into r_result_val(value, result_id) select '0.9', r.id from r_result r where r.name='MITB';insert into r_result_val(value, result_id) select '0.9', r.id from r_result r where r.name='MITB'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.8' and r.name='MITB' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CONF' and iv.value='1')    or (i.name='MIT' and iv.value='2')     );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.9' and r.name='MITB' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CONF' and iv.value='2')    or (i.name='MIT' and iv.value='2')     );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.9' and r.name='MITB' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CONF' and iv.value='3')    or (i.name='MIT' and iv.value='2')     );insert into r_result_val(value, result_id) select '0.7', r.id from r_result r where r.name='MITB';insert into r_result_val(value, result_id) select '0.65', r.id from r_result r where r.name='MITB';insert into r_result_val(value, result_id) select '0.7', r.id from r_result r where r.name='MITB'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.7' and r.name='MITB' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CONF' and iv.value='1')    or (i.name='MIT' and iv.value='3')     );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.65' and r.name='MITB' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CONF' and iv.value='2')    or (i.name='MIT' and iv.value='3')     );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.7' and r.name='MITB' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CONF' and iv.value='3')    or (i.name='MIT' and iv.value='3')     );insert into r_result_val(value, result_id) select '0.65', r.id from r_result r where r.name='MITB';insert into r_result_val(value, result_id) select '0.8', r.id from r_result r where r.name='MITB';insert into r_result_val(value, result_id) select '0.8', r.id from r_result r where r.name='MITB'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.65' and r.name='MITB' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CONF' and iv.value='1')    or (i.name='MIT' and iv.value='4')     );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.8' and r.name='MITB' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CONF' and iv.value='2')    or (i.name='MIT' and iv.value='4')     );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.8' and r.name='MITB' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CONF' and iv.value='3')    or (i.name='MIT' and iv.value='4')     );insert into r_result_val(value, result_id) select '0.5', r.id from r_result r where r.name='MITB';insert into r_result_val(value, result_id) select '0.55', r.id from r_result r where r.name='MITB';insert into r_result_val(value, result_id) select '0.7', r.id from r_result r where r.name='MITB'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.5' and r.name='MITB' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CONF' and iv.value='1')    or (i.name='MIT' and iv.value='5')     );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.55' and r.name='MITB' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CONF' and iv.value='2')    or (i.name='MIT' and iv.value='5')     );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.7' and r.name='MITB' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CONF' and iv.value='3')    or (i.name='MIT' and iv.value='5')     );insert into r_result_val(value, result_id) select '0.35', r.id from r_result r where r.name='MITB';insert into r_result_val(value, result_id) select '0.4', r.id from r_result r where r.name='MITB';insert into r_result_val(value, result_id) select '0.55', r.id from r_result r where r.name='MITB'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.35' and r.name='MITB' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CONF' and iv.value='1')    or (i.name='MIT' and iv.value='6')     );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.4' and r.name='MITB' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CONF' and iv.value='2')    or (i.name='MIT' and iv.value='6')     );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.55' and r.name='MITB' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CONF' and iv.value='3')    or (i.name='MIT' and iv.value='6')     );
insert into r_result(name) values('Lme_dep');insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='Lme_dep';insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='Lme_dep';insert into r_result_val(value, result_id) select '4', r.id from r_result r where r.name='Lme_dep';insert into r_result_val(value, result_id) select '4', r.id from r_result r where r.name='Lme_dep'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='2' and r.name='Lme_dep' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='NIV' and iv.value='1')    or (i.name='CONF' and iv.value='1')     );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='2' and r.name='Lme_dep' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='NIV' and iv.value='1.5')    or (i.name='CONF' and iv.value='1')     );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='4' and r.name='Lme_dep' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='NIV' and iv.value='2')    or (i.name='CONF' and iv.value='1')     );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='4' and r.name='Lme_dep' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='NIV' and iv.value='2.5')    or (i.name='CONF' and iv.value='1')     );insert into r_result_val(value, result_id) select '4', r.id from r_result r where r.name='Lme_dep';insert into r_result_val(value, result_id) select '4', r.id from r_result r where r.name='Lme_dep';insert into r_result_val(value, result_id) select '8', r.id from r_result r where r.name='Lme_dep';insert into r_result_val(value, result_id) select '8', r.id from r_result r where r.name='Lme_dep'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='4' and r.name='Lme_dep' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='NIV' and iv.value='1')    or (i.name='CONF' and iv.value='2')     );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='4' and r.name='Lme_dep' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='NIV' and iv.value='1.5')    or (i.name='CONF' and iv.value='2')     );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='8' and r.name='Lme_dep' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='NIV' and iv.value='2')    or (i.name='CONF' and iv.value='2')     );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='8' and r.name='Lme_dep' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='NIV' and iv.value='2.5')    or (i.name='CONF' and iv.value='2')     );insert into r_result_val(value, result_id) select '6', r.id from r_result r where r.name='Lme_dep';insert into r_result_val(value, result_id) select '6', r.id from r_result r where r.name='Lme_dep';insert into r_result_val(value, result_id) select '12', r.id from r_result r where r.name='Lme_dep';insert into r_result_val(value, result_id) select '12', r.id from r_result r where r.name='Lme_dep'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='6' and r.name='Lme_dep' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='NIV' and iv.value='1')    or (i.name='CONF' and iv.value='3')     );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='6' and r.name='Lme_dep' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='NIV' and iv.value='1.5')    or (i.name='CONF' and iv.value='3')     );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='12' and r.name='Lme_dep' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='NIV' and iv.value='2')    or (i.name='CONF' and iv.value='3')     );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='12' and r.name='Lme_dep' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='NIV' and iv.value='2.5')    or (i.name='CONF' and iv.value='3')     );
insert into r_result(name) values('ICH*');
insert into r_result_val(value, result_id) select '1.06', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '1.06', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '1.04', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '1.04', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '1.05', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '1.05', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '1.03', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '1.03', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '1.11', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '1.11', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '1.05', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '1.05', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '1.1', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '1.1', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '1.65', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '1.65', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '1.5', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '1.5', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '1.83', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '1.83', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '2.12', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '2.01', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '1.96', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '1.85', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '1.74', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '1.65', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '1.63', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '1.54', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '1.59', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '1.51', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '1.51', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '1.51', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '1.53', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '1.45', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '1.41', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '1.41', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '2.39', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '2.39', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '2.39', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '2.39', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '2.12', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '2.01', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '1.96', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '1.85', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '1.74', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '1.65', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '1.63', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '1.54', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '1.59', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '1.51', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '1.51', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '1.51', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '3.76', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '3.76', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '4.24', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '4.01', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '3.69', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '3.5', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '3.1', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '2.94', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '2.68', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '2.54', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '3.76', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '3.76', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '2.54', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '2.41', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '0.43', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '0.43', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '0.59', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '0.59', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '0.46', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '0.46', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '0.38', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '0.38', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '0.3', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '0.3', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '1.41', r.id from r_result r where r.name='ICH*';insert into r_result_val(value, result_id) select '1.34', r.id from r_result r where r.name='ICH*';
insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.06' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='1')    or    (i.name='ROB' and iv.value='0')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.04' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='2')    or    (i.name='ROB' and iv.value='0')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.05' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='3')    or    (i.name='ROB' and iv.value='0')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.03' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='4')    or    (i.name='ROB' and iv.value='0')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.11' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='5')    or    (i.name='ROB' and iv.value='0')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.05' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='6')    or    (i.name='ROB' and iv.value='0')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.1' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='7')    or    (i.name='ROB' and iv.value='0')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.65' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='8')    or    (i.name='ROB' and iv.value='0')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.5' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='9')    or    (i.name='ROB' and iv.value='0')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.83' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='10')    or    (i.name='ROB' and iv.value='0')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='2.12' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='11')    or    (i.name='ROB' and iv.value='0')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.96' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='12')    or    (i.name='ROB' and iv.value='0')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.74' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='13')    or    (i.name='ROB' and iv.value='0')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.63' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='14')    or    (i.name='ROB' and iv.value='0')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.59' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='15')    or    (i.name='ROB' and iv.value='0')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.51' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='16')    or    (i.name='ROB' and iv.value='0')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.53' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='17')    or    (i.name='ROB' and iv.value='0')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.41' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='18')    or    (i.name='ROB' and iv.value='0')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='2.39' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='19')    or    (i.name='ROB' and iv.value='0')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='2.39' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='20')    or    (i.name='ROB' and iv.value='0')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='2.12' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='21')    or    (i.name='ROB' and iv.value='0')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.96' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='22')    or    (i.name='ROB' and iv.value='0')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.74' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='23')    or    (i.name='ROB' and iv.value='0')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.63' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='24')    or    (i.name='ROB' and iv.value='0')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.59' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='25')    or    (i.name='ROB' and iv.value='0')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.51' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='26')    or    (i.name='ROB' and iv.value='0')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='3.76' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='27')    or    (i.name='ROB' and iv.value='0')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='4.24' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='28')    or    (i.name='ROB' and iv.value='0')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='3.69' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='29')    or    (i.name='ROB' and iv.value='0')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='3.1' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='30')    or    (i.name='ROB' and iv.value='0')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='2.68' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='31')    or    (i.name='ROB' and iv.value='0')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='3.76' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='32')    or    (i.name='ROB' and iv.value='0')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='2.54' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='33')    or    (i.name='ROB' and iv.value='0')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.43' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='34')    or    (i.name='ROB' and iv.value='0')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.59' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='35')    or    (i.name='ROB' and iv.value='0')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.46' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='36')    or    (i.name='ROB' and iv.value='0')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.38' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='37')    or    (i.name='ROB' and iv.value='0')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.3' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='38')    or    (i.name='ROB' and iv.value='0')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.41' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='39')    or    (i.name='ROB' and iv.value='0')   );
insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.06' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='1')    or    (i.name='ROB' and iv.value='1')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.04' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='2')    or    (i.name='ROB' and iv.value='1')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.05' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='3')    or    (i.name='ROB' and iv.value='1')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.03' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='4')    or    (i.name='ROB' and iv.value='1')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.11' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='5')    or    (i.name='ROB' and iv.value='1')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.05' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='6')    or    (i.name='ROB' and iv.value='1')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.1' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='7')    or    (i.name='ROB' and iv.value='1')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.65' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='8')    or    (i.name='ROB' and iv.value='1')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.5' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='9')    or    (i.name='ROB' and iv.value='1')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.83' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='10')    or    (i.name='ROB' and iv.value='1')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='2.01' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='11')    or    (i.name='ROB' and iv.value='1')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.85' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='12')    or    (i.name='ROB' and iv.value='1')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.65' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='13')    or    (i.name='ROB' and iv.value='1')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.54' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='14')    or    (i.name='ROB' and iv.value='1')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.51' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='15')    or    (i.name='ROB' and iv.value='1')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.51' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='16')    or    (i.name='ROB' and iv.value='1')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.45' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='17')    or    (i.name='ROB' and iv.value='1')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.41' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='18')    or    (i.name='ROB' and iv.value='1')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='2.39' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='19')    or    (i.name='ROB' and iv.value='1')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='2.39' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='20')    or    (i.name='ROB' and iv.value='1')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='2.01' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='21')    or    (i.name='ROB' and iv.value='1')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.85' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='22')    or    (i.name='ROB' and iv.value='1')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.65' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='23')    or    (i.name='ROB' and iv.value='1')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.54' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='24')    or    (i.name='ROB' and iv.value='1')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.51' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='25')    or    (i.name='ROB' and iv.value='1')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.51' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='26')    or    (i.name='ROB' and iv.value='1')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='3.76' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='27')    or    (i.name='ROB' and iv.value='1')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='4.01' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='28')    or    (i.name='ROB' and iv.value='1')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='3.5' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='29')    or    (i.name='ROB' and iv.value='1')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='2.94' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='30')    or    (i.name='ROB' and iv.value='1')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='2.54' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='31')    or    (i.name='ROB' and iv.value='1')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='3.76' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='32')    or    (i.name='ROB' and iv.value='1')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='2.41' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='33')    or    (i.name='ROB' and iv.value='1')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.43' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='34')    or    (i.name='ROB' and iv.value='1')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.59' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='35')    or    (i.name='ROB' and iv.value='1')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.46' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='36')    or    (i.name='ROB' and iv.value='1')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.38' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='37')    or    (i.name='ROB' and iv.value='1')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.3' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='38')    or    (i.name='ROB' and iv.value='1')   );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1.34' and r.name='ICH*' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='CH' and iv.value='39')    or    (i.name='ROB' and iv.value='1')   );
insert into r_result(name) values('CLIMAT'); insert into r_result(name) values('ZETE');insert into r_result(name) values('ZHIV');insert into r_result(name) values('E');insert into r_result(name) values('FECSA');insert into r_result(name) values('FECSN');insert into r_result(name) values('FCH PSD');insert into r_result(name) values('FECS PSD');insert into r_result(name) values('PLU');insert into r_result(name) values('EPV');insert into r_result(name) values('DJU');insert into r_result(name) values('IGP');insert into r_result(name) values('Vmoy1');insert into r_result(name) values('ZDE');
insert into r_result_val(value, result_id) select '63.7', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '3', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '392', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.51', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.65', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.26', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.89', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '1275', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '1052', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2837', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1413', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '4', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '67', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '423', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.48', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.62', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.24', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.86', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '742', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '886', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2965', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1185', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '6', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '64', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '3', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '403', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.52', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.66', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.29', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.9', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '809', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '1048', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2781', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1406', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '4', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '52.7', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '4', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '541', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.63', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.79', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.42', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.96', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '843', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '1345', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2364', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1816', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '4.5', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '54.8', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '4', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '546', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.58', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.74', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.42', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.95', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '989', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '1285', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '3044', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1729', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '4.5', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '39', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '4', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '3', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '527', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.66', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.82', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.67', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.98', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '967', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '1310', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '1462', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1780', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '4.5', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '61.7', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '4', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '490', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.6', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.76', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.37', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.96', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '1244', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '1183', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2705', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1597', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '5.5', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '64', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '398', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.48', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.62', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.24', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.86', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '905', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '868', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2938', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1158', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '6', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '49.1', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '3', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '484', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.6', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.75', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.4', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.96', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '997', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '1211', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2180', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1641', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '5', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '64', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '407', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.5', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.64', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.22', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.88', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '755', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '962', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2859', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1290', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '5', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '44.1', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '4', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '3', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '440', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.6', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.75', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.4', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.96', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '859', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '1207', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '1985', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1635', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '8', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '53.1', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '3', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '440', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.57', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.73', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.36', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.94', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '1036', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '1151', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2497', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1547', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '5', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '44.1', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '4', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '3', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '528', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.65', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.8', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.45', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.96', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '766', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '1333', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '1635', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1814', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '8', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '61', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '371', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.5', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.65', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.33', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.89', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '862', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '965', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '3299', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1290', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '7', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '62.9', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '3', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '435', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.54', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.69', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.29', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.91', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '1229', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '1126', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2955', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1506', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '4', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '48', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '3', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '435', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.59', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.74', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.44', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.94', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '860', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '1097', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2213', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1477', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '5', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '48', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '3', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '440', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.59', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.74', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.44', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.94', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '855', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '1119', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2128', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1508', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '6', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '58', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '419', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.52', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.66', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.26', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.89', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '759', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '1014', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2640', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1358', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '5', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '56.9', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '3', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '425', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.54', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.7', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.3', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.91', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '1250', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '1089', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2823', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1463', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '4', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '42.4', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '4', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '3', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '529', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.66', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.82', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.52', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.98', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '838', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '1295', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '1448', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1764', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '5', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '40.1', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '4', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '3', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '504', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.66', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.82', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.52', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.98', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '838', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '1262', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '1559', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1724', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '5', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '65.7', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '3', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '358', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.51', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.65', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.22', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.88', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '863', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '986', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2827', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1321', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '4', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';
insert into r_result_val(value, result_id) select '51', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '427', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.51', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.66', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.35', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.89', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '816', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '998', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2493', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1335', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '7', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '65.1', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '3', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '437', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.54', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.7', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.3', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.91', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '1012', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '1086', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2736', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1454', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '4', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '48', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '3', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '435', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.59', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.74', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.38', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.94', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '890', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '1085', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2245', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1464', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '5', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '65.9', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '3', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '355', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.51', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.65', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.24', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.89', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '1368', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '970', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2913', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1294', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '4', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '61.6', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '4', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '528', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.6', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.76', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.37', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.96', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '965', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '1192', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2211', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1612', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '6', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '58', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '429', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.49', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.63', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.27', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.87', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '708', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '935', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2891', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1252', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '6.5', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '63', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '437', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.51', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.65', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.25', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.89', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '649', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '973', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2822', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1305', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '6', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '55', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '458', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.5', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.66', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.36', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.9', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '964', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '996', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2470', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1331', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '7', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '44.1', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '4', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '3', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '500', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.63', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.79', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.51', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.97', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '960', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '1264', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '1787', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1719', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '7', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '52.2', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '3', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '441', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.58', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.74', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.33', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.94', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '832', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '1155', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2176', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1561', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '4', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '50', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '3', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '442', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.58', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.74', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.33', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.94', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '797', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '1123', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2164', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1517', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '4', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '41', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '3', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '410', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.59', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.74', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.38', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.94', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '901', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '1103', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2078', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1490', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '5', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '46.2', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '4', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '3', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '492', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.63', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.8', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.48', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.97', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '927', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '1248', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '1830', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1696', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '7', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '53', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '340', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.52', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.67', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.33', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.9', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '772', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '1001', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2516', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1342', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '6.5', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '59', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '361', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.52', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.66', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.26', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.89', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '777', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '1052', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2607', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1410', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '5', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '57', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '366', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.52', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.67', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.26', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.89', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '683', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '1043', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2574', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1398', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '5', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '63.6', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '3', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '480', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.55', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.69', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.26', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.92', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '1177', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '1128', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2983', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1519', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '5', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '63.7', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '3', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '363', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.51', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.65', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.24', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.89', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '1980', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '1006', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '3131', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1347', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '4', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '42', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '3', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '414', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.57', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.73', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.39', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.96', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '1114', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '1118', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2152', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1510', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '4', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '59', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '443', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.52', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.67', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.26', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.89', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '670', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '1011', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2670', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1354', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '5', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '60.7', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '3', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '407', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.54', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.68', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.25', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.9', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '859', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '1091', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2884', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1464', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '4', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '62.9', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '3', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '460', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.54', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.69', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.29', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.91', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '822', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '1153', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '3199', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1540', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '4', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';
insert into r_result_val(value, result_id) select '48', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '402', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.53', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.69', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.35', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.92', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '761', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '1049', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2342', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1408', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '6', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '61', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '421', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.51', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.65', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.25', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.89', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '679', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '980', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2766', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1314', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '5', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '53.3', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '3', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '405', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.56', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.71', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.33', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.93', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '976', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '1099', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2368', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1484', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '5', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '53', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '3', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '435', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.57', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.73', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.34', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.94', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '810', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '1092', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2216', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1477', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '4', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '56.3', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '4', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '460', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.57', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.73', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.36', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.94', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '1299', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '1200', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2800', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1599', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '5', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '55', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '432', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.53', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.69', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.35', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.92', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '830', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '1052', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2474', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1412', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '6', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '56', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '433', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.5', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.65', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.334', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.89', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '986', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '983', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2732', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1313', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '7', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '65', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '414', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.5', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.64', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.215', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.86', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '752', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '924', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2910', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1237', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '5', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '68.1', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '380', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.5', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.64', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.224', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.88', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '930', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '959', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '3303', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1284', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '4.5', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '56', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '421', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.52', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.67', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.329', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.9', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '794', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '1005', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2516', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1348', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '6', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '71', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '400', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.49', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.63', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.208', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.87', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '833', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '911', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '3106', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1217', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '5', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '68', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '398', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.5', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.64', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.22', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.86', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '983', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '913', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '3008', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1220', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '5', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '48', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '403', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.52', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.67', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.33', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.9', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '911', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '1013', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2417', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1356', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '7', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '68', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '386', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.49', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.62', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.19', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.86', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '869', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '898', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '3042', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1199', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '5', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '65.1', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '395', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.51', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.66', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.26', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.89', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '937', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '1003', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2817', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1343', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '4', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '60', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '380', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.46', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.59', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.23', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.86', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '729', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '856', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2656', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1141', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '6', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '65', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '428', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.49', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.63', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.23', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.87', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '714', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '906', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2904', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1213', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '6', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '62', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '442', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.5', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.65', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.33', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.89', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '805', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '982', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2761', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1314', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '6', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '60', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '380', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.46', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.59', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.23', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.86', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '824', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '869', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2731', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1157', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '7', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '58.6', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '3', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '398', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.53', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.68', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.29', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.91', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '965', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '1087', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2710', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1458', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '4', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '44.7', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '3', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '510', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.58', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.74', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.68', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.98', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '1399', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '1136', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '1823', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1532', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '4', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '52.7', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '3', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '549', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.58', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.74', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.33', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.94', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '1157', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '1155', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2200', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1562', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '4', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';
insert into r_result_val(value, result_id) select '37.7', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '4', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '3', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '481', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.62', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.81', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.48', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.99', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '712', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '1255', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '1536', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1699', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '5.5', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '72.1', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '343', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.49', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.63', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.19', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.86', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '840', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '906', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '3012', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1213', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '4.5', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '73.3', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '366', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.5', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.64', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.21', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.88', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '1162', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '919', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '3031', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1229', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '4', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '62.7', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '3', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '392', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.54', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.68', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.25', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.9', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '838', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '1074', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2625', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1444', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '4', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '71.3', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '376', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.51', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.65', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.24', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.89', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '1145', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '956', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '3130', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1280', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '4', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '66.1', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '3', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '385', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.53', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.67', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.24', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.89', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '858', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '1011', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2744', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1357', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '4', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '57', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '435', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.52', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.67', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.28', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.89', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '716', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '1007', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2314', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1350', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '6', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '63.3', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '3', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '460', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.55', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.69', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.3', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.92', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '1151', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '1110', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2955', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1501', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '4', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '66.7', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '3', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '392', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.51', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.65', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.26', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.89', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '1458', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '1056', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '3350', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1420', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '4', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '55', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '337', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.5', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.64', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.24', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.87', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '633', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '943', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2463', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1265', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '6', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '58', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '418', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.49', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.63', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.27', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.87', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '895', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '919', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2961', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1227', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '7', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '62', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '396', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.5', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.64', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.24', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.87', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '716', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '955', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2769', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1282', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '5', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '66', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '418', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.5', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.64', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.24', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.87', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '633', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '944', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2752', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1266', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '6', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '56', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '451', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.59', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.74', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.44', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.99', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '851', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '1105', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2330', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1486', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '6.5', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '64', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '423', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.49', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.63', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.23', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.87', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '755', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '881', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2857', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1175', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '6.35', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '53.1', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '3', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '440', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.58', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.74', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.33', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.94', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '990', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '1165', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2337', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1575', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '5.5', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '51', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '3', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '432', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.58', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.74', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.33', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.94', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '809', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '1118', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2276', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1512', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '5', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '39', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '4', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '3', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '515', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.67', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.83', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.68', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '858', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '1336', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '1338', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1818', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '6.5', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '52.3', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '4', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '580', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.63', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.79', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.42', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.96', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '765', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '1298', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '1877', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1764', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '7', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '50', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '442', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.53', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.69', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.35', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.92', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '795', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '1097', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2235', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1474', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '6', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '56', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '456', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.55', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.7', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.3', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.91', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '733', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '1086', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2531', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1459', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '5', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '63.1', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '3', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '447', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.54', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.7', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.3', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.91', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '1061', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '1085', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2691', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1456', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '5', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';
insert into r_result_val(value, result_id) select '71.3', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '376', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.5', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.64', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.22', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.88', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '1238', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '939', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '3089', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1255', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '4', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '62', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '410', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.5', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.65', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.24', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.89', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '794', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '969', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2753', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1299', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '5', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '72.3', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '371', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.5', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.64', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.21', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.88', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '1075', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '942', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '3192', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1257', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '4', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '61', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '396', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.5', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.64', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.24', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.87', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '633', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '963', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2724', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1293', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '5', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '58', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '350', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.5', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.64', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.24', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.87', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '633', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '944', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2608', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1268', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '6', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '58', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '350', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.5', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.64', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.24', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.87', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '633', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '939', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2675', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1260', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '5', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '58', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '350', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.5', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.64', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.24', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.87', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '633', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '948', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2682', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1273', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '5', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';insert into r_result_val(value, result_id) select '61', r.id from r_result r where r.name='CLIMAT'; insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='ZETE';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZHIV';insert into r_result_val(value, result_id) select '396', r.id from r_result r where r.name='E';insert into r_result_val(value, result_id) select '0.5', r.id from r_result r where r.name='FECSA';insert into r_result_val(value, result_id) select '0.64', r.id from r_result r where r.name='FECSN';insert into r_result_val(value, result_id) select '0.24', r.id from r_result r where r.name='FCH PSD';insert into r_result_val(value, result_id) select '0.87', r.id from r_result r where r.name='FECS PSD';insert into r_result_val(value, result_id) select '633', r.id from r_result r where r.name='PLU';insert into r_result_val(value, result_id) select '930', r.id from r_result r where r.name='EPV';insert into r_result_val(value, result_id) select '2790', r.id from r_result r where r.name='DJU';insert into r_result_val(value, result_id) select '1248', r.id from r_result r where r.name='IGP';insert into r_result_val(value, result_id) select '6', r.id from r_result r where r.name='Vmoy1';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ZDE';
insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='63.7' and r.name='CLIMAT' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='1')  ); insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='3' and r.name='ZETE' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='1')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1' and r.name='ZHIV' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='1')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='392' and r.name='E' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='1')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.51' and r.name='FECSA' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='1')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.65' and r.name='FECSN' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='1')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.26' and r.name='FCH PSD' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='1')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.89' and r.name='FECS PSD' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='1')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1275' and r.name='PLU' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='1')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1052' and r.name='EPV' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='1')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='2837' and r.name='DJU' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='1')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1413' and r.name='IGP' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='1')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='4' and r.name='Vmoy1' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='1')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1' and r.name='ZDE' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='1')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='67' and r.name='CLIMAT' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='2')  ); insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1' and r.name='ZETE' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='2')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1' and r.name='ZHIV' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='2')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='423' and r.name='E' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='2')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.48' and r.name='FECSA' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='2')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.62' and r.name='FECSN' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='2')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.24' and r.name='FCH PSD' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='2')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.86' and r.name='FECS PSD' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='2')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='742' and r.name='PLU' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='2')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='886' and r.name='EPV' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='2')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='2965' and r.name='DJU' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='2')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1185' and r.name='IGP' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='2')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='6' and r.name='Vmoy1' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='2')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1' and r.name='ZDE' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='2')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='64' and r.name='CLIMAT' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='3')  ); insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='3' and r.name='ZETE' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='3')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1' and r.name='ZHIV' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='3')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='403' and r.name='E' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='3')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.52' and r.name='FECSA' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='3')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.66' and r.name='FECSN' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='3')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.29' and r.name='FCH PSD' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='3')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.9' and r.name='FECS PSD' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='3')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='809' and r.name='PLU' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='3')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1048' and r.name='EPV' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='3')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='2781' and r.name='DJU' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='3')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1406' and r.name='IGP' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='3')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='4' and r.name='Vmoy1' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='3')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1' and r.name='ZDE' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='3')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='52.7' and r.name='CLIMAT' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='4')  ); insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='4' and r.name='ZETE' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='4')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='2' and r.name='ZHIV' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='4')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='541' and r.name='E' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='4')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.63' and r.name='FECSA' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='4')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.79' and r.name='FECSN' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='4')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.42' and r.name='FCH PSD' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='4')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.96' and r.name='FECS PSD' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='4')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='843' and r.name='PLU' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='4')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1345' and r.name='EPV' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='4')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='2364' and r.name='DJU' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='4')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1816' and r.name='IGP' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='4')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='4.5' and r.name='Vmoy1' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='4')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1' and r.name='ZDE' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='4')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='54.8' and r.name='CLIMAT' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='5')  ); insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='4' and r.name='ZETE' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='5')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1' and r.name='ZHIV' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='5')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='546' and r.name='E' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='5')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.58' and r.name='FECSA' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='5')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.74' and r.name='FECSN' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='5')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.42' and r.name='FCH PSD' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='5')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='0.95' and r.name='FECS PSD' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='5')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='989' and r.name='PLU' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='5')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1285' and r.name='EPV' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='5')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='3044' and r.name='DJU' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='5')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1729' and r.name='IGP' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='5')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='4.5' and r.name='Vmoy1' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='5')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1' and r.name='ZDE' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='DEPT' and iv.value='5')  );
