insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='55' 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='76')  ); insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='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='76')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='76')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='337' 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='76')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='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='76')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.64' 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='76')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='76')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.87' 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='76')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='633' 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='76')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='943' 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='76')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='2463' 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='76')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1265' 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='76')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='76')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='76')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='58' 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='77')  ); insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='77')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='77')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='418' 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='77')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.49' 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='77')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='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='77')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.27' 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='77')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.87' 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='77')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='895' 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='77')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='919' 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='77')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='2961' 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='77')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1227' 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='77')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='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='77')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='77')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='62' 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='78')  ); insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='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='78')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='78')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='396' 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='78')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='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='78')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.64' 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='78')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='78')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.87' 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='78')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='716' 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='78')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='955' 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='78')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='2769' 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='78')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1282' 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='78')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='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='78')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='78')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='66' 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='79')  ); insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='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='79')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='79')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='418' 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='79')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='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='79')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.64' 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='79')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='79')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.87' 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='79')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='633' 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='79')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='944' 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='79')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='2752' 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='79')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1266' 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='79')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='79')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='79')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='56' 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='80')  ); insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='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='80')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='80')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='451' 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='80')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='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='80')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='80')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.44' 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='80')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.99' 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='80')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='851' 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='80')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1105' 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='80')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='2330' 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='80')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1486' 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='80')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='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='80')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='80')  );
insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='81')  ); insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='81')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='81')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='81')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.49' 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='81')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='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='81')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='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='81')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.87' 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='81')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='755' 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='81')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='881' 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='81')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='2857' 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='81')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1175' 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='81')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.35' 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='81')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='81')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='53.1' 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='82')  ); insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='82')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='82')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='440' 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='82')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='82')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='82')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.33' 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='82')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.94' 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='82')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='990' 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='82')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1165' 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='82')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='2337' 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='82')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1575' 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='82')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.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='82')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='82')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='51' 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='83')  ); insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='83')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='83')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='432' 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='83')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='83')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='83')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.33' 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='83')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.94' 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='83')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='83')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1118' 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='83')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='2276' 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='83')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1512' 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='83')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='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='83')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='83')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='39' 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='84')  ); insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='84')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='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='84')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='515' 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='84')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.67' 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='84')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.83' 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='84')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.68' 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='84')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='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='84')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='858' 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='84')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1336' 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='84')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1338' 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='84')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1818' 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='84')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='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='84')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='84')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.3' 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='85')  ); insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='85')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='85')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='580' 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='85')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='85')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='85')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='85')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='85')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='765' 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='85')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1298' 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='85')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1877' 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='85')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1764' 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='85')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='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='85')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='85')  );
insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='50' 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='86')  ); insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='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='86')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='86')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='442' 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='86')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.53' 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='86')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.69' 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='86')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='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='86')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.92' 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='86')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='795' 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='86')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1097' 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='86')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='2235' 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='86')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1474' 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='86')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='86')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='86')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='56' 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='87')  ); insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='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='87')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='87')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='456' 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='87')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='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='87')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='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='87')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='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='87')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.91' 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='87')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='733' 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='87')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1086' 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='87')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='2531' 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='87')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1459' 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='87')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='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='87')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='87')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.1' 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='88')  ); insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='88')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='88')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='447' 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='88')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.54' 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='88')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='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='88')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='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='88')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.91' 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='88')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1061' 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='88')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1085' 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='88')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='2691' 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='88')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1456' 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='88')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='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='88')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='88')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='71.3' 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='89')  ); insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='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='89')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='89')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='376' 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='89')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='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='89')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.64' 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='89')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.22' 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='89')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.88' 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='89')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1238' 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='89')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='939' 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='89')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='3089' 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='89')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1255' 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='89')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='89')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='89')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='62' 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='90')  ); insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='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='90')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='90')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='410' 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='90')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='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='90')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='90')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='90')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='90')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='794' 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='90')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='969' 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='90')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='2753' 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='90')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1299' 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='90')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='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='90')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='90')  );
insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='72.3' 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='91')  ); insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='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='91')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='91')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='371' 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='91')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='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='91')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.64' 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='91')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.21' 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='91')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.88' 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='91')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1075' 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='91')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='942' 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='91')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='3192' 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='91')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1257' 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='91')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='91')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='91')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='61' 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='92')  ); insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='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='92')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='92')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='396' 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='92')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='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='92')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.64' 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='92')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='92')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.87' 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='92')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='633' 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='92')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='963' 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='92')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='2724' 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='92')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1293' 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='92')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='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='92')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='92')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='58' 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='93')  ); insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='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='93')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='93')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='350' 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='93')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='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='93')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.64' 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='93')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='93')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.87' 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='93')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='633' 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='93')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='944' 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='93')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='2608' 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='93')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1268' 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='93')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='93')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='93')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='58' 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='94')  ); insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='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='94')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='94')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='350' 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='94')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='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='94')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.64' 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='94')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='94')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.87' 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='94')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='633' 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='94')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='939' 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='94')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='2675' 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='94')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1260' 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='94')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='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='94')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='94')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='58' 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='95')  ); insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='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='95')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='95')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='350' 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='95')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='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='95')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.64' 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='95')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='95')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.87' 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='95')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='633' 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='95')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='948' 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='95')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='2682' 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='95')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1273' 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='95')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='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='95')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='95')  );
insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='61' 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='96')  ); insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='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='96')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='96')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='396' 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='96')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='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='96')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.64' 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='96')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='96')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.87' 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='96')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='633' 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='96')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='930' 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='96')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='2790' 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='96')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='1248' 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='96')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='96')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='96')  );
insert into r_result(name) values('UMUR_def');insert into r_result_val(value, result_id) select '1.2', r.id from r_result r where r.name='UMUR_def';insert into r_result_val(value, result_id) select '1.2', r.id from r_result r where r.name='UMUR_def';insert into r_result_val(value, result_id) select '1.2', r.id from r_result r where r.name='UMUR_def';insert into r_result_val(value, result_id) select '1.2', r.id from r_result r where r.name='UMUR_def';insert into r_result_val(value, result_id) select '1.2', r.id from r_result r where r.name='UMUR_def';insert into r_result_val(value, result_id) select '1.2', r.id from r_result r where r.name='UMUR_def'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='UMUR_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='1')    or (i.name='EJ' and iv.value='1')    or (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 ='1.2' and r.name='UMUR_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='1')    or (i.name='EJ' and iv.value='0')    or (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 ='1.2' and r.name='UMUR_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='1')    or (i.name='EJ' and iv.value='1')    or (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 ='1.2' and r.name='UMUR_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='1')    or (i.name='EJ' and iv.value='0')    or (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 ='1.2' and r.name='UMUR_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='1')    or (i.name='EJ' and iv.value='1')    or (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.2' and r.name='UMUR_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='1')    or (i.name='EJ' and iv.value='0')    or (i.name='ZHIV' and iv.value='3')   );insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='UMUR_def';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='UMUR_def';insert into r_result_val(value, result_id) select '1.05', r.id from r_result r where r.name='UMUR_def';insert into r_result_val(value, result_id) select '1.05', r.id from r_result r where r.name='UMUR_def';insert into r_result_val(value, result_id) select '1.11', r.id from r_result r where r.name='UMUR_def';insert into r_result_val(value, result_id) select '1.11', r.id from r_result r where r.name='UMUR_def'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='UMUR_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='2')    or (i.name='EJ' and iv.value='1')    or (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 ='1' and r.name='UMUR_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='2')    or (i.name='EJ' and iv.value='0')    or (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 ='1.05' and r.name='UMUR_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='2')    or (i.name='EJ' and iv.value='1')    or (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 ='1.05' and r.name='UMUR_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='2')    or (i.name='EJ' and iv.value='0')    or (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 ='1.11' and r.name='UMUR_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='2')    or (i.name='EJ' and iv.value='1')    or (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.11' and r.name='UMUR_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='2')    or (i.name='EJ' and iv.value='0')    or (i.name='ZHIV' and iv.value='3')   );insert into r_result_val(value, result_id) select '0.8', r.id from r_result r where r.name='UMUR_def';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='UMUR_def';insert into r_result_val(value, result_id) select '0.84', r.id from r_result r where r.name='UMUR_def';insert into r_result_val(value, result_id) select '1.05', r.id from r_result r where r.name='UMUR_def';insert into r_result_val(value, result_id) select '0.89', r.id from r_result r where r.name='UMUR_def';insert into r_result_val(value, result_id) select '1.11', r.id from r_result r where r.name='UMUR_def'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='UMUR_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='3')    or (i.name='EJ' and iv.value='1')    or (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 ='1' and r.name='UMUR_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='3')    or (i.name='EJ' and iv.value='0')    or (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 ='0.84' and r.name='UMUR_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='3')    or (i.name='EJ' and iv.value='1')    or (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 ='1.05' and r.name='UMUR_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='3')    or (i.name='EJ' and iv.value='0')    or (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 ='0.89' and r.name='UMUR_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='3')    or (i.name='EJ' and iv.value='1')    or (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.11' and r.name='UMUR_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='3')    or (i.name='EJ' and iv.value='0')    or (i.name='ZHIV' and iv.value='3')   );insert into r_result_val(value, result_id) select '0.7', r.id from r_result r where r.name='UMUR_def';insert into r_result_val(value, result_id) select '0.8', r.id from r_result r where r.name='UMUR_def';insert into r_result_val(value, result_id) select '0.74', r.id from r_result r where r.name='UMUR_def';insert into r_result_val(value, result_id) select '0.84', r.id from r_result r where r.name='UMUR_def';insert into r_result_val(value, result_id) select '0.78', r.id from r_result r where r.name='UMUR_def';insert into r_result_val(value, result_id) select '0.89', r.id from r_result r where r.name='UMUR_def'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='UMUR_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='4')    or (i.name='EJ' and iv.value='1')    or (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 ='0.8' and r.name='UMUR_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='4')    or (i.name='EJ' and iv.value='0')    or (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 ='0.74' and r.name='UMUR_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='4')    or (i.name='EJ' and iv.value='1')    or (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 ='0.84' and r.name='UMUR_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='4')    or (i.name='EJ' and iv.value='0')    or (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 ='0.78' and r.name='UMUR_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='4')    or (i.name='EJ' and iv.value='1')    or (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.89' and r.name='UMUR_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='4')    or (i.name='EJ' and iv.value='0')    or (i.name='ZHIV' and iv.value='3')   );insert into r_result_val(value, result_id) select '0.45', r.id from r_result r where r.name='UMUR_def';insert into r_result_val(value, result_id) select '0.5', r.id from r_result r where r.name='UMUR_def';insert into r_result_val(value, result_id) select '0.47', r.id from r_result r where r.name='UMUR_def';insert into r_result_val(value, result_id) select '0.53', r.id from r_result r where r.name='UMUR_def';insert into r_result_val(value, result_id) select '0.5', r.id from r_result r where r.name='UMUR_def';insert into r_result_val(value, result_id) select '0.56', r.id from r_result r where r.name='UMUR_def'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='UMUR_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='5')    or (i.name='EJ' and iv.value='1')    or (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 ='0.5' and r.name='UMUR_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='5')    or (i.name='EJ' and iv.value='0')    or (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 ='0.47' and r.name='UMUR_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='5')    or (i.name='EJ' and iv.value='1')    or (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 ='0.53' and r.name='UMUR_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='5')    or (i.name='EJ' and iv.value='0')    or (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 ='0.5' and r.name='UMUR_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='5')    or (i.name='EJ' and iv.value='1')    or (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.56' and r.name='UMUR_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='5')    or (i.name='EJ' and iv.value='0')    or (i.name='ZHIV' and iv.value='3')   );insert into r_result_val(value, result_id) select '0.4', r.id from r_result r where r.name='UMUR_def';insert into r_result_val(value, result_id) select '0.4', r.id from r_result r where r.name='UMUR_def';insert into r_result_val(value, result_id) select '0.4', r.id from r_result r where r.name='UMUR_def';insert into r_result_val(value, result_id) select '0.4', r.id from r_result r where r.name='UMUR_def';insert into r_result_val(value, result_id) select '0.47', r.id from r_result r where r.name='UMUR_def';insert into r_result_val(value, result_id) select '0.47', r.id from r_result r where r.name='UMUR_def'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='UMUR_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='6')    or (i.name='EJ' and iv.value='1')    or (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 ='0.4' and r.name='UMUR_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='6')    or (i.name='EJ' and iv.value='0')    or (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 ='0.4' and r.name='UMUR_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='6')    or (i.name='EJ' and iv.value='1')    or (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 ='0.4' and r.name='UMUR_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='6')    or (i.name='EJ' and iv.value='0')    or (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 ='0.47' and r.name='UMUR_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='6')    or (i.name='EJ' and iv.value='1')    or (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.47' and r.name='UMUR_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='6')    or (i.name='EJ' and iv.value='0')    or (i.name='ZHIV' and iv.value='3')   );
insert into r_result(name) values('UMUR_imur');insert into r_result_val(value, result_id) select '100', r.id from r_result r where r.name='UMUR_imur'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='100' and r.name='UMUR_imur' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='IMUR' and iv.value='1')  );insert into r_result_val(value, result_id) select '0.98', r.id from r_result r where r.name='UMUR_imur'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.98' and r.name='UMUR_imur' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='IMUR' and iv.value='2')  );insert into r_result_val(value, result_id) select '0.56', r.id from r_result r where r.name='UMUR_imur'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.56' and r.name='UMUR_imur' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='IMUR' and iv.value='3')  );insert into r_result_val(value, result_id) select '0.42', r.id from r_result r where r.name='UMUR_imur'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='UMUR_imur' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='IMUR' and iv.value='4')  );
insert into r_result(name) values('UPLAN_def');insert into r_result_val(value, result_id) select '1.2', r.id from r_result r where r.name='UPLAN_def';insert into r_result_val(value, result_id) select '1.2', r.id from r_result r where r.name='UPLAN_def';insert into r_result_val(value, result_id) select '1.2', r.id from r_result r where r.name='UPLAN_def';insert into r_result_val(value, result_id) select '1.2', r.id from r_result r where r.name='UPLAN_def';insert into r_result_val(value, result_id) select '1.2', r.id from r_result r where r.name='UPLAN_def';insert into r_result_val(value, result_id) select '1.2', r.id from r_result r where r.name='UPLAN_def'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='UPLAN_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='1')    or (i.name='EJ' and iv.value='1')    or (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 ='1.2' and r.name='UPLAN_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='1')    or (i.name='EJ' and iv.value='0')    or (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 ='1.2' and r.name='UPLAN_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='1')    or (i.name='EJ' and iv.value='1')    or (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 ='1.2' and r.name='UPLAN_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='1')    or (i.name='EJ' and iv.value='0')    or (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 ='1.2' and r.name='UPLAN_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='1')    or (i.name='EJ' and iv.value='1')    or (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.2' and r.name='UPLAN_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='1')    or (i.name='EJ' and iv.value='0')    or (i.name='ZHIV' and iv.value='3')   );insert into r_result_val(value, result_id) select '0.9', r.id from r_result r where r.name='UPLAN_def';insert into r_result_val(value, result_id) select '0.9', r.id from r_result r where r.name='UPLAN_def';insert into r_result_val(value, result_id) select '0.95', r.id from r_result r where r.name='UPLAN_def';insert into r_result_val(value, result_id) select '0.95', r.id from r_result r where r.name='UPLAN_def';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='UPLAN_def';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='UPLAN_def'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='UPLAN_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='2')    or (i.name='EJ' and iv.value='1')    or (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 ='0.9' and r.name='UPLAN_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='2')    or (i.name='EJ' and iv.value='0')    or (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 ='0.95' and r.name='UPLAN_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='2')    or (i.name='EJ' and iv.value='1')    or (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 ='0.95' and r.name='UPLAN_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='2')    or (i.name='EJ' and iv.value='0')    or (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 ='1' and r.name='UPLAN_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='2')    or (i.name='EJ' and iv.value='1')    or (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='UPLAN_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='2')    or (i.name='EJ' and iv.value='0')    or (i.name='ZHIV' and iv.value='3')   );insert into r_result_val(value, result_id) select '0.8', r.id from r_result r where r.name='UPLAN_def';insert into r_result_val(value, result_id) select '0.9', r.id from r_result r where r.name='UPLAN_def';insert into r_result_val(value, result_id) select '0.84', r.id from r_result r where r.name='UPLAN_def';insert into r_result_val(value, result_id) select '0.95', r.id from r_result r where r.name='UPLAN_def';insert into r_result_val(value, result_id) select '0.89', r.id from r_result r where r.name='UPLAN_def';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='UPLAN_def'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='UPLAN_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='3')    or (i.name='EJ' and iv.value='1')    or (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 ='0.9' and r.name='UPLAN_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='3')    or (i.name='EJ' and iv.value='0')    or (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 ='0.84' and r.name='UPLAN_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='3')    or (i.name='EJ' and iv.value='1')    or (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 ='0.95' and r.name='UPLAN_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='3')    or (i.name='EJ' and iv.value='0')    or (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 ='0.89' and r.name='UPLAN_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='3')    or (i.name='EJ' and iv.value='1')    or (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='UPLAN_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='3')    or (i.name='EJ' and iv.value='0')    or (i.name='ZHIV' and iv.value='3')   );insert into r_result_val(value, result_id) select '0.55', r.id from r_result r where r.name='UPLAN_def';insert into r_result_val(value, result_id) select '0.7', r.id from r_result r where r.name='UPLAN_def';insert into r_result_val(value, result_id) select '0.58', r.id from r_result r where r.name='UPLAN_def';insert into r_result_val(value, result_id) select '0.74', r.id from r_result r where r.name='UPLAN_def';insert into r_result_val(value, result_id) select '0.61', r.id from r_result r where r.name='UPLAN_def';insert into r_result_val(value, result_id) select '0.78', r.id from r_result r where r.name='UPLAN_def'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='UPLAN_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='4')    or (i.name='EJ' and iv.value='1')    or (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 ='0.7' and r.name='UPLAN_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='4')    or (i.name='EJ' and iv.value='0')    or (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 ='0.58' and r.name='UPLAN_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='4')    or (i.name='EJ' and iv.value='1')    or (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 ='0.74' and r.name='UPLAN_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='4')    or (i.name='EJ' and iv.value='0')    or (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 ='0.61' and r.name='UPLAN_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='4')    or (i.name='EJ' and iv.value='1')    or (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.78' and r.name='UPLAN_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='4')    or (i.name='EJ' and iv.value='0')    or (i.name='ZHIV' and iv.value='3')   );insert into r_result_val(value, result_id) select '0.55', r.id from r_result r where r.name='UPLAN_def';insert into r_result_val(value, result_id) select '0.6', r.id from r_result r where r.name='UPLAN_def';insert into r_result_val(value, result_id) select '0.58', r.id from r_result r where r.name='UPLAN_def';insert into r_result_val(value, result_id) select '0.63', r.id from r_result r where r.name='UPLAN_def';insert into r_result_val(value, result_id) select '0.61', r.id from r_result r where r.name='UPLAN_def';insert into r_result_val(value, result_id) select '0.67', r.id from r_result r where r.name='UPLAN_def'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='UPLAN_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='5')    or (i.name='EJ' and iv.value='1')    or (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 ='0.6' and r.name='UPLAN_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='5')    or (i.name='EJ' and iv.value='0')    or (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 ='0.58' and r.name='UPLAN_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='5')    or (i.name='EJ' and iv.value='1')    or (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 ='0.63' and r.name='UPLAN_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='5')    or (i.name='EJ' and iv.value='0')    or (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 ='0.61' and r.name='UPLAN_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='5')    or (i.name='EJ' and iv.value='1')    or (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.67' and r.name='UPLAN_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='5')    or (i.name='EJ' and iv.value='0')    or (i.name='ZHIV' and iv.value='3')   );insert into r_result_val(value, result_id) select '0.4', r.id from r_result r where r.name='UPLAN_def';insert into r_result_val(value, result_id) select '0.4', r.id from r_result r where r.name='UPLAN_def';insert into r_result_val(value, result_id) select '0.4', r.id from r_result r where r.name='UPLAN_def';insert into r_result_val(value, result_id) select '0.4', r.id from r_result r where r.name='UPLAN_def';insert into r_result_val(value, result_id) select '0.43', r.id from r_result r where r.name='UPLAN_def';insert into r_result_val(value, result_id) select '0.43', r.id from r_result r where r.name='UPLAN_def'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='UPLAN_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='6')    or (i.name='EJ' and iv.value='1')    or (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 ='0.4' and r.name='UPLAN_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='6')    or (i.name='EJ' and iv.value='0')    or (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 ='0.4' and r.name='UPLAN_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='6')    or (i.name='EJ' and iv.value='1')    or (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 ='0.4' and r.name='UPLAN_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='6')    or (i.name='EJ' and iv.value='0')    or (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 ='0.43' and r.name='UPLAN_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='6')    or (i.name='EJ' and iv.value='1')    or (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.43' and r.name='UPLAN_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='6')    or (i.name='EJ' and iv.value='0')    or (i.name='ZHIV' and iv.value='3')   );
insert into r_result(name) values('UPLAN_iplan');insert into r_result_val(value, result_id) select '100', r.id from r_result r where r.name='UPLAN_iplan'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='100' and r.name='UPLAN_iplan' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='IPLAN' and iv.value='1')  );insert into r_result_val(value, result_id) select '0.87', r.id from r_result r where r.name='UPLAN_iplan'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.87' and r.name='UPLAN_iplan' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='IPLAN' and iv.value='2')  );insert into r_result_val(value, result_id) select '0.56', r.id from r_result r where r.name='UPLAN_iplan'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.56' and r.name='UPLAN_iplan' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='IPLAN' and iv.value='3')  );insert into r_result_val(value, result_id) select '0.42', r.id from r_result r where r.name='UPLAN_iplan'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='UPLAN_iplan' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='IPLAN' and iv.value='4')  );
insert into r_result(name) values('UTOIT_itoit1_def');insert into r_result_val(value, result_id) select '1.2', r.id from r_result r where r.name='UTOIT_itoit1_def';insert into r_result_val(value, result_id) select '1.2', r.id from r_result r where r.name='UTOIT_itoit1_def';insert into r_result_val(value, result_id) select '1.2', r.id from r_result r where r.name='UTOIT_itoit1_def';insert into r_result_val(value, result_id) select '1.2', r.id from r_result r where r.name='UTOIT_itoit1_def';insert into r_result_val(value, result_id) select '1.2', r.id from r_result r where r.name='UTOIT_itoit1_def';insert into r_result_val(value, result_id) select '1.2', r.id from r_result r where r.name='UTOIT_itoit1_def'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='UTOIT_itoit1_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='1')    or (i.name='EJ' and iv.value='1')    or (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 ='1.2' and r.name='UTOIT_itoit1_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='1')    or (i.name='EJ' and iv.value='0')    or (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 ='1.2' and r.name='UTOIT_itoit1_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='1')    or (i.name='EJ' and iv.value='1')    or (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 ='1.2' and r.name='UTOIT_itoit1_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='1')    or (i.name='EJ' and iv.value='0')    or (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 ='1.2' and r.name='UTOIT_itoit1_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='1')    or (i.name='EJ' and iv.value='1')    or (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.2' and r.name='UTOIT_itoit1_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='1')    or (i.name='EJ' and iv.value='0')    or (i.name='ZHIV' and iv.value='3')   );insert into r_result_val(value, result_id) select '0.5', r.id from r_result r where r.name='UTOIT_itoit1_def';insert into r_result_val(value, result_id) select '0.5', r.id from r_result r where r.name='UTOIT_itoit1_def';insert into r_result_val(value, result_id) select '0.53', r.id from r_result r where r.name='UTOIT_itoit1_def';insert into r_result_val(value, result_id) select '0.53', r.id from r_result r where r.name='UTOIT_itoit1_def';insert into r_result_val(value, result_id) select '0.56', r.id from r_result r where r.name='UTOIT_itoit1_def';insert into r_result_val(value, result_id) select '0.56', r.id from r_result r where r.name='UTOIT_itoit1_def'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='UTOIT_itoit1_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='2')    or (i.name='EJ' and iv.value='1')    or (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 ='0.5' and r.name='UTOIT_itoit1_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='2')    or (i.name='EJ' and iv.value='0')    or (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 ='0.53' and r.name='UTOIT_itoit1_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='2')    or (i.name='EJ' and iv.value='1')    or (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 ='0.53' and r.name='UTOIT_itoit1_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='2')    or (i.name='EJ' and iv.value='0')    or (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 ='0.56' and r.name='UTOIT_itoit1_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='2')    or (i.name='EJ' and iv.value='1')    or (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.56' and r.name='UTOIT_itoit1_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='2')    or (i.name='EJ' and iv.value='0')    or (i.name='ZHIV' and iv.value='3')   );insert into r_result_val(value, result_id) select '0.4', r.id from r_result r where r.name='UTOIT_itoit1_def';insert into r_result_val(value, result_id) select '0.5', r.id from r_result r where r.name='UTOIT_itoit1_def';insert into r_result_val(value, result_id) select '0.42', r.id from r_result r where r.name='UTOIT_itoit1_def';insert into r_result_val(value, result_id) select '0.53', r.id from r_result r where r.name='UTOIT_itoit1_def';insert into r_result_val(value, result_id) select '0.44', r.id from r_result r where r.name='UTOIT_itoit1_def';insert into r_result_val(value, result_id) select '0.56', r.id from r_result r where r.name='UTOIT_itoit1_def'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='UTOIT_itoit1_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='3')    or (i.name='EJ' and iv.value='1')    or (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 ='0.5' and r.name='UTOIT_itoit1_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='3')    or (i.name='EJ' and iv.value='0')    or (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 ='0.42' and r.name='UTOIT_itoit1_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='3')    or (i.name='EJ' and iv.value='1')    or (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 ='0.53' and r.name='UTOIT_itoit1_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='3')    or (i.name='EJ' and iv.value='0')    or (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 ='0.44' and r.name='UTOIT_itoit1_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='3')    or (i.name='EJ' and iv.value='1')    or (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.56' and r.name='UTOIT_itoit1_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='3')    or (i.name='EJ' and iv.value='0')    or (i.name='ZHIV' and iv.value='3')   );insert into r_result_val(value, result_id) select '0.3', r.id from r_result r where r.name='UTOIT_itoit1_def';insert into r_result_val(value, result_id) select '0.3', r.id from r_result r where r.name='UTOIT_itoit1_def';insert into r_result_val(value, result_id) select '0.32', r.id from r_result r where r.name='UTOIT_itoit1_def';insert into r_result_val(value, result_id) select '0.32', r.id from r_result r where r.name='UTOIT_itoit1_def';insert into r_result_val(value, result_id) select '0.33', r.id from r_result r where r.name='UTOIT_itoit1_def';insert into r_result_val(value, result_id) select '0.33', r.id from r_result r where r.name='UTOIT_itoit1_def'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='UTOIT_itoit1_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='4')    or (i.name='EJ' and iv.value='1')    or (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 ='0.3' and r.name='UTOIT_itoit1_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='4')    or (i.name='EJ' and iv.value='0')    or (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 ='0.32' and r.name='UTOIT_itoit1_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='4')    or (i.name='EJ' and iv.value='1')    or (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 ='0.32' and r.name='UTOIT_itoit1_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='4')    or (i.name='EJ' and iv.value='0')    or (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 ='0.33' and r.name='UTOIT_itoit1_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='4')    or (i.name='EJ' and iv.value='1')    or (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.33' and r.name='UTOIT_itoit1_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='4')    or (i.name='EJ' and iv.value='0')    or (i.name='ZHIV' and iv.value='3')   );insert into r_result_val(value, result_id) select '0.25', r.id from r_result r where r.name='UTOIT_itoit1_def';insert into r_result_val(value, result_id) select '0.25', r.id from r_result r where r.name='UTOIT_itoit1_def';insert into r_result_val(value, result_id) select '0.26', r.id from r_result r where r.name='UTOIT_itoit1_def';insert into r_result_val(value, result_id) select '0.26', r.id from r_result r where r.name='UTOIT_itoit1_def';insert into r_result_val(value, result_id) select '0.28', r.id from r_result r where r.name='UTOIT_itoit1_def';insert into r_result_val(value, result_id) select '0.28', r.id from r_result r where r.name='UTOIT_itoit1_def'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.25' and r.name='UTOIT_itoit1_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='5')    or (i.name='EJ' and iv.value='1')    or (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 ='0.25' and r.name='UTOIT_itoit1_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='5')    or (i.name='EJ' and iv.value='0')    or (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 ='0.26' and r.name='UTOIT_itoit1_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='5')    or (i.name='EJ' and iv.value='1')    or (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 ='0.26' and r.name='UTOIT_itoit1_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='5')    or (i.name='EJ' and iv.value='0')    or (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 ='0.28' and r.name='UTOIT_itoit1_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='5')    or (i.name='EJ' and iv.value='1')    or (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.28' and r.name='UTOIT_itoit1_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='5')    or (i.name='EJ' and iv.value='0')    or (i.name='ZHIV' and iv.value='3')   );insert into r_result_val(value, result_id) select '0.23', r.id from r_result r where r.name='UTOIT_itoit1_def';insert into r_result_val(value, result_id) select '0.23', r.id from r_result r where r.name='UTOIT_itoit1_def';insert into r_result_val(value, result_id) select '0.23', r.id from r_result r where r.name='UTOIT_itoit1_def';insert into r_result_val(value, result_id) select '0.23', r.id from r_result r where r.name='UTOIT_itoit1_def';insert into r_result_val(value, result_id) select '0.3', r.id from r_result r where r.name='UTOIT_itoit1_def';insert into r_result_val(value, result_id) select '0.3', r.id from r_result r where r.name='UTOIT_itoit1_def'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='UTOIT_itoit1_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='6')    or (i.name='EJ' and iv.value='1')    or (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 ='0.23' and r.name='UTOIT_itoit1_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='6')    or (i.name='EJ' and iv.value='0')    or (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 ='0.23' and r.name='UTOIT_itoit1_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='6')    or (i.name='EJ' and iv.value='1')    or (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 ='0.23' and r.name='UTOIT_itoit1_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='6')    or (i.name='EJ' and iv.value='0')    or (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 ='0.3' and r.name='UTOIT_itoit1_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='6')    or (i.name='EJ' and iv.value='1')    or (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.3' and r.name='UTOIT_itoit1_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='6')    or (i.name='EJ' and iv.value='0')    or (i.name='ZHIV' and iv.value='3')   );
insert into r_result(name) values('UTOIT_itoit1_toit3');insert into r_result_val(value, result_id) select '1.2', r.id from r_result r where r.name='UTOIT_itoit1_toit3';insert into r_result_val(value, result_id) select '1.2', r.id from r_result r where r.name='UTOIT_itoit1_toit3';insert into r_result_val(value, result_id) select '1.2', r.id from r_result r where r.name='UTOIT_itoit1_toit3';insert into r_result_val(value, result_id) select '1.2', r.id from r_result r where r.name='UTOIT_itoit1_toit3';insert into r_result_val(value, result_id) select '1.2', r.id from r_result r where r.name='UTOIT_itoit1_toit3';insert into r_result_val(value, result_id) select '1.2', r.id from r_result r where r.name='UTOIT_itoit1_toit3'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='UTOIT_itoit1_toit3' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='1')    or (i.name='EJ' and iv.value='1')    or (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 ='1.2' and r.name='UTOIT_itoit1_toit3' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='1')    or (i.name='EJ' and iv.value='0')    or (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 ='1.2' and r.name='UTOIT_itoit1_toit3' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='1')    or (i.name='EJ' and iv.value='1')    or (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 ='1.2' and r.name='UTOIT_itoit1_toit3' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='1')    or (i.name='EJ' and iv.value='0')    or (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 ='1.2' and r.name='UTOIT_itoit1_toit3' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='1')    or (i.name='EJ' and iv.value='1')    or (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.2' and r.name='UTOIT_itoit1_toit3' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='1')    or (i.name='EJ' and iv.value='0')    or (i.name='ZHIV' and iv.value='3')   );insert into r_result_val(value, result_id) select '0.75', r.id from r_result r where r.name='UTOIT_itoit1_toit3';insert into r_result_val(value, result_id) select '0.75', r.id from r_result r where r.name='UTOIT_itoit1_toit3';insert into r_result_val(value, result_id) select '0.79', r.id from r_result r where r.name='UTOIT_itoit1_toit3';insert into r_result_val(value, result_id) select '0.79', r.id from r_result r where r.name='UTOIT_itoit1_toit3';insert into r_result_val(value, result_id) select '0.83', r.id from r_result r where r.name='UTOIT_itoit1_toit3';insert into r_result_val(value, result_id) select '0.83', r.id from r_result r where r.name='UTOIT_itoit1_toit3'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.75' and r.name='UTOIT_itoit1_toit3' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='2')    or (i.name='EJ' and iv.value='1')    or (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 ='0.75' and r.name='UTOIT_itoit1_toit3' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='2')    or (i.name='EJ' and iv.value='0')    or (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 ='0.79' and r.name='UTOIT_itoit1_toit3' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='2')    or (i.name='EJ' and iv.value='1')    or (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 ='0.79' and r.name='UTOIT_itoit1_toit3' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='2')    or (i.name='EJ' and iv.value='0')    or (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 ='0.83' and r.name='UTOIT_itoit1_toit3' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='2')    or (i.name='EJ' and iv.value='1')    or (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.83' and r.name='UTOIT_itoit1_toit3' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='2')    or (i.name='EJ' and iv.value='0')    or (i.name='ZHIV' and iv.value='3')   );insert into r_result_val(value, result_id) select '0.7', r.id from r_result r where r.name='UTOIT_itoit1_toit3';insert into r_result_val(value, result_id) select '0.75', r.id from r_result r where r.name='UTOIT_itoit1_toit3';insert into r_result_val(value, result_id) select '0.74', r.id from r_result r where r.name='UTOIT_itoit1_toit3';insert into r_result_val(value, result_id) select '0.79', r.id from r_result r where r.name='UTOIT_itoit1_toit3';insert into r_result_val(value, result_id) select '0.78', r.id from r_result r where r.name='UTOIT_itoit1_toit3';insert into r_result_val(value, result_id) select '0.83', r.id from r_result r where r.name='UTOIT_itoit1_toit3'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='UTOIT_itoit1_toit3' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='3')    or (i.name='EJ' and iv.value='1')    or (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 ='0.75' and r.name='UTOIT_itoit1_toit3' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='3')    or (i.name='EJ' and iv.value='0')    or (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 ='0.74' and r.name='UTOIT_itoit1_toit3' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='3')    or (i.name='EJ' and iv.value='1')    or (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 ='0.79' and r.name='UTOIT_itoit1_toit3' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='3')    or (i.name='EJ' and iv.value='0')    or (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 ='0.78' and r.name='UTOIT_itoit1_toit3' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='3')    or (i.name='EJ' and iv.value='1')    or (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.83' and r.name='UTOIT_itoit1_toit3' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='3')    or (i.name='EJ' and iv.value='0')    or (i.name='ZHIV' and iv.value='3')   );insert into r_result_val(value, result_id) select '0.4', r.id from r_result r where r.name='UTOIT_itoit1_toit3';insert into r_result_val(value, result_id) select '0.55', r.id from r_result r where r.name='UTOIT_itoit1_toit3';insert into r_result_val(value, result_id) select '0.42', r.id from r_result r where r.name='UTOIT_itoit1_toit3';insert into r_result_val(value, result_id) select '0.58', r.id from r_result r where r.name='UTOIT_itoit1_toit3';insert into r_result_val(value, result_id) select '0.44', r.id from r_result r where r.name='UTOIT_itoit1_toit3';insert into r_result_val(value, result_id) select '0.61', r.id from r_result r where r.name='UTOIT_itoit1_toit3'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='UTOIT_itoit1_toit3' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='4')    or (i.name='EJ' and iv.value='1')    or (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 ='0.55' and r.name='UTOIT_itoit1_toit3' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='4')    or (i.name='EJ' and iv.value='0')    or (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 ='0.42' and r.name='UTOIT_itoit1_toit3' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='4')    or (i.name='EJ' and iv.value='1')    or (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 ='0.58' and r.name='UTOIT_itoit1_toit3' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='4')    or (i.name='EJ' and iv.value='0')    or (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 ='0.44' and r.name='UTOIT_itoit1_toit3' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='4')    or (i.name='EJ' and iv.value='1')    or (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.61' and r.name='UTOIT_itoit1_toit3' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='4')    or (i.name='EJ' and iv.value='0')    or (i.name='ZHIV' and iv.value='3')   );insert into r_result_val(value, result_id) select '0.35', r.id from r_result r where r.name='UTOIT_itoit1_toit3';insert into r_result_val(value, result_id) select '0.4', r.id from r_result r where r.name='UTOIT_itoit1_toit3';insert into r_result_val(value, result_id) select '0.37', r.id from r_result r where r.name='UTOIT_itoit1_toit3';insert into r_result_val(value, result_id) select '0.42', r.id from r_result r where r.name='UTOIT_itoit1_toit3';insert into r_result_val(value, result_id) select '0.39', r.id from r_result r where r.name='UTOIT_itoit1_toit3';insert into r_result_val(value, result_id) select '0.44', r.id from r_result r where r.name='UTOIT_itoit1_toit3'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='UTOIT_itoit1_toit3' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='5')    or (i.name='EJ' and iv.value='1')    or (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 ='0.4' and r.name='UTOIT_itoit1_toit3' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='5')    or (i.name='EJ' and iv.value='0')    or (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 ='0.37' and r.name='UTOIT_itoit1_toit3' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='5')    or (i.name='EJ' and iv.value='1')    or (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 ='0.42' and r.name='UTOIT_itoit1_toit3' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='5')    or (i.name='EJ' and iv.value='0')    or (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 ='0.39' and r.name='UTOIT_itoit1_toit3' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='5')    or (i.name='EJ' and iv.value='1')    or (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.44' and r.name='UTOIT_itoit1_toit3' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='5')    or (i.name='EJ' and iv.value='0')    or (i.name='ZHIV' and iv.value='3')   );insert into r_result_val(value, result_id) select '0.3', r.id from r_result r where r.name='UTOIT_itoit1_toit3';insert into r_result_val(value, result_id) select '0.3', r.id from r_result r where r.name='UTOIT_itoit1_toit3';insert into r_result_val(value, result_id) select '0.3', r.id from r_result r where r.name='UTOIT_itoit1_toit3';insert into r_result_val(value, result_id) select '0.3', r.id from r_result r where r.name='UTOIT_itoit1_toit3';insert into r_result_val(value, result_id) select '0.3', r.id from r_result r where r.name='UTOIT_itoit1_toit3';insert into r_result_val(value, result_id) select '0.3', r.id from r_result r where r.name='UTOIT_itoit1_toit3'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='UTOIT_itoit1_toit3' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='6')    or (i.name='EJ' and iv.value='1')    or (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 ='0.3' and r.name='UTOIT_itoit1_toit3' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='6')    or (i.name='EJ' and iv.value='0')    or (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 ='0.3' and r.name='UTOIT_itoit1_toit3' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='6')    or (i.name='EJ' and iv.value='1')    or (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 ='0.3' and r.name='UTOIT_itoit1_toit3' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='6')    or (i.name='EJ' and iv.value='0')    or (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 ='0.3' and r.name='UTOIT_itoit1_toit3' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='6')    or (i.name='EJ' and iv.value='1')    or (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.3' and r.name='UTOIT_itoit1_toit3' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='AC' and iv.value='6')    or (i.name='EJ' and iv.value='0')    or (i.name='ZHIV' and iv.value='3')   );
insert into r_result(name) values('UTOIT_itoitdef');insert into r_result_val(value, result_id) select '100', r.id from r_result r where r.name='UTOIT_itoitdef';insert into r_result_val(value, result_id) select '100', r.id from r_result r where r.name='UTOIT_itoitdef';insert into r_result_val(value, result_id) select '100', r.id from r_result r where r.name='UTOIT_itoitdef'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='100' and r.name='UTOIT_itoitdef' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='TOIT' and iv.value='1')    or (i.name='ITOIT' 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 ='100' and r.name='UTOIT_itoitdef' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='TOIT' and iv.value='2')    or (i.name='ITOIT' 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 ='100' and r.name='UTOIT_itoitdef' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='TOIT' and iv.value='3')    or (i.name='ITOIT' and iv.value='1')     );insert into r_result_val(value, result_id) select '0.43', r.id from r_result r where r.name='UTOIT_itoitdef';insert into r_result_val(value, result_id) select '0.61', r.id from r_result r where r.name='UTOIT_itoitdef';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='UTOIT_itoitdef'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='UTOIT_itoitdef' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='TOIT' and iv.value='1')    or (i.name='ITOIT' 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.61' and r.name='UTOIT_itoitdef' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='TOIT' and iv.value='2')    or (i.name='ITOIT' 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='UTOIT_itoitdef' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='TOIT' and iv.value='3')    or (i.name='ITOIT' and iv.value='2')     );insert into r_result_val(value, result_id) select '0.23', r.id from r_result r where r.name='UTOIT_itoitdef';insert into r_result_val(value, result_id) select '0.38', r.id from r_result r where r.name='UTOIT_itoitdef';insert into r_result_val(value, result_id) select '0.5', r.id from r_result r where r.name='UTOIT_itoitdef'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='UTOIT_itoitdef' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='TOIT' and iv.value='1')    or (i.name='ITOIT' 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.38' and r.name='UTOIT_itoitdef' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='TOIT' and iv.value='2')    or (i.name='ITOIT' 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.5' and r.name='UTOIT_itoitdef' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='TOIT' and iv.value='3')    or (i.name='ITOIT' and iv.value='3')     );insert into r_result_val(value, result_id) select '0.19', r.id from r_result r where r.name='UTOIT_itoitdef';insert into r_result_val(value, result_id) select '0.27', r.id from r_result r where r.name='UTOIT_itoitdef';insert into r_result_val(value, result_id) select '0.27', r.id from r_result r where r.name='UTOIT_itoitdef'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.19' and r.name='UTOIT_itoitdef' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='TOIT' and iv.value='1')    or (i.name='ITOIT' 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.27' and r.name='UTOIT_itoitdef' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='TOIT' and iv.value='2')    or (i.name='ITOIT' 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.27' and r.name='UTOIT_itoitdef' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='TOIT' and iv.value='3')    or (i.name='ITOIT' and iv.value='4')     );
insert into r_result(name) values('Uterrasse_itoit_def');insert into r_result_val(value, result_id) select '100', r.id from r_result r where r.name='Uterrasse_itoit_def'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='100' and r.name='Uterrasse_itoit_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='ITOIT' and iv.value='1')  );insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='Uterrasse_itoit_def'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='Uterrasse_itoit_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='ITOIT' and iv.value='2')  );insert into r_result_val(value, result_id) select '0.5', r.id from r_result r where r.name='Uterrasse_itoit_def'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='Uterrasse_itoit_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='ITOIT' and iv.value='3')  );insert into r_result_val(value, result_id) select '0.27', r.id from r_result r where r.name='Uterrasse_itoit_def'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.27' and r.name='Uterrasse_itoit_def' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='ITOIT' and iv.value='4')  );
insert into r_result(name) values('Ufenetres');insert into r_result_val(value, result_id) select '4.2', r.id from r_result r where r.name='Ufenetres';insert into r_result_val(value, result_id) select '3.9', r.id from r_result r where r.name='Ufenetres';insert into r_result_val(value, result_id) select '4.95', r.id from r_result r where r.name='Ufenetres';insert into r_result_val(value, result_id) select '4.95', r.id from r_result r where r.name='Ufenetres'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.2' and r.name='Ufenetres' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='MF' and iv.value='1')    or (i.name='VIT' and iv.value='1')   or (i.name='VOL' 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.9' and r.name='Ufenetres' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='MF' and iv.value='2')    or (i.name='VIT' and iv.value='1')   or (i.name='VOL' 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.95' and r.name='Ufenetres' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='MF' and iv.value='3')    or (i.name='VIT' and iv.value='1')   or (i.name='VOL' 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.95' and r.name='Ufenetres' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='MF' and iv.value='4')    or (i.name='VIT' and iv.value='1')   or (i.name='VOL' and iv.value='0')     );insert into r_result_val(value, result_id) select '2.9', r.id from r_result r where r.name='Ufenetres';insert into r_result_val(value, result_id) select '2.75', r.id from r_result r where r.name='Ufenetres';insert into r_result_val(value, result_id) select '4', r.id from r_result r where r.name='Ufenetres';insert into r_result_val(value, result_id) select '4', r.id from r_result r where r.name='Ufenetres'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.9' and r.name='Ufenetres' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='MF' and iv.value='1')    or (i.name='VIT' and iv.value='2')   or (i.name='VOL' 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.75' and r.name='Ufenetres' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='MF' and iv.value='2')    or (i.name='VIT' and iv.value='2')   or (i.name='VOL' 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='Ufenetres' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='MF' and iv.value='3')    or (i.name='VIT' and iv.value='2')   or (i.name='VOL' 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='Ufenetres' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='MF' and iv.value='4')    or (i.name='VIT' and iv.value='2')   or (i.name='VOL' and iv.value='0')     );insert into r_result_val(value, result_id) select '2.8', r.id from r_result r where r.name='Ufenetres';insert into r_result_val(value, result_id) select '2.55', r.id from r_result r where r.name='Ufenetres';insert into r_result_val(value, result_id) select '3.8', r.id from r_result r where r.name='Ufenetres';insert into r_result_val(value, result_id) select '3.15', r.id from r_result r where r.name='Ufenetres'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.8' and r.name='Ufenetres' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='MF' and iv.value='1')    or (i.name='VIT' and iv.value='3')   or (i.name='VOL' 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.55' and r.name='Ufenetres' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='MF' and iv.value='2')    or (i.name='VIT' and iv.value='3')   or (i.name='VOL' 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.8' and r.name='Ufenetres' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='MF' and iv.value='3')    or (i.name='VIT' and iv.value='3')   or (i.name='VOL' 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.15' and r.name='Ufenetres' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='MF' and iv.value='4')    or (i.name='VIT' and iv.value='3')   or (i.name='VOL' and iv.value='0')     );insert into r_result_val(value, result_id) select '2.42', r.id from r_result r where r.name='Ufenetres';insert into r_result_val(value, result_id) select '2.2', r.id from r_result r where r.name='Ufenetres';insert into r_result_val(value, result_id) select '3.42', r.id from r_result r where r.name='Ufenetres';insert into r_result_val(value, result_id) select '2.77', r.id from r_result r where r.name='Ufenetres'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.42' and r.name='Ufenetres' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='MF' and iv.value='1')    or (i.name='VIT' and iv.value='4')   or (i.name='VOL' 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.2' and r.name='Ufenetres' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='MF' and iv.value='2')    or (i.name='VIT' and iv.value='4')   or (i.name='VOL' 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.42' and r.name='Ufenetres' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='MF' and iv.value='3')    or (i.name='VIT' and iv.value='4')   or (i.name='VOL' 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.77' and r.name='Ufenetres' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='MF' and iv.value='4')    or (i.name='VIT' and iv.value='4')   or (i.name='VOL' and iv.value='0')     );insert into r_result_val(value, result_id) select '2.35', r.id from r_result r where r.name='Ufenetres';insert into r_result_val(value, result_id) select '2.15', r.id from r_result r where r.name='Ufenetres';insert into r_result_val(value, result_id) select '2.8', r.id from r_result r where r.name='Ufenetres';insert into r_result_val(value, result_id) select '2.8', r.id from r_result r where r.name='Ufenetres'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.35' and r.name='Ufenetres' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='MF' and iv.value='1')    or (i.name='VIT' and iv.value='5')   or (i.name='VOL' 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.15' and r.name='Ufenetres' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='MF' and iv.value='2')    or (i.name='VIT' and iv.value='5')   or (i.name='VOL' 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.8' and r.name='Ufenetres' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='MF' and iv.value='3')    or (i.name='VIT' and iv.value='5')   or (i.name='VOL' 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.8' and r.name='Ufenetres' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='MF' and iv.value='4')    or (i.name='VIT' and iv.value='5')   or (i.name='VOL' and iv.value='0')     );insert into r_result_val(value, result_id) select '3.55', r.id from r_result r where r.name='Ufenetres';insert into r_result_val(value, result_id) select '3.3', r.id from r_result r where r.name='Ufenetres';insert into r_result_val(value, result_id) select '4.05', r.id from r_result r where r.name='Ufenetres';insert into r_result_val(value, result_id) select '4.05', r.id from r_result r where r.name='Ufenetres'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.55' and r.name='Ufenetres' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='MF' and iv.value='1')    or (i.name='VIT' and iv.value='1')   or (i.name='VOL' 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.3' and r.name='Ufenetres' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='MF' and iv.value='2')    or (i.name='VIT' and iv.value='1')   or (i.name='VOL' 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.05' and r.name='Ufenetres' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='MF' and iv.value='3')    or (i.name='VIT' and iv.value='1')   or (i.name='VOL' 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.05' and r.name='Ufenetres' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='MF' and iv.value='4')    or (i.name='VIT' and iv.value='1')   or (i.name='VOL' and iv.value='1')     );insert into r_result_val(value, result_id) select '2.6', r.id from r_result r where r.name='Ufenetres';insert into r_result_val(value, result_id) select '2.5', r.id from r_result r where r.name='Ufenetres';insert into r_result_val(value, result_id) select '3.5', r.id from r_result r where r.name='Ufenetres';insert into r_result_val(value, result_id) select '3.5', r.id from r_result r where r.name='Ufenetres'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.6' and r.name='Ufenetres' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='MF' and iv.value='1')    or (i.name='VIT' and iv.value='2')   or (i.name='VOL' 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.5' and r.name='Ufenetres' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='MF' and iv.value='2')    or (i.name='VIT' and iv.value='2')   or (i.name='VOL' 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='Ufenetres' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='MF' and iv.value='3')    or (i.name='VIT' and iv.value='2')   or (i.name='VOL' 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='Ufenetres' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='MF' and iv.value='4')    or (i.name='VIT' and iv.value='2')   or (i.name='VOL' and iv.value='1')     );insert into r_result_val(value, result_id) select '2.45', r.id from r_result r where r.name='Ufenetres';insert into r_result_val(value, result_id) select '2.25', r.id from r_result r where r.name='Ufenetres';insert into r_result_val(value, result_id) select '3.25', r.id from r_result r where r.name='Ufenetres';insert into r_result_val(value, result_id) select '2.7', r.id from r_result r where r.name='Ufenetres'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.45' and r.name='Ufenetres' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='MF' and iv.value='1')    or (i.name='VIT' and iv.value='3')   or (i.name='VOL' 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.25' and r.name='Ufenetres' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='MF' and iv.value='2')    or (i.name='VIT' and iv.value='3')   or (i.name='VOL' 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.25' and r.name='Ufenetres' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='MF' and iv.value='3')    or (i.name='VIT' and iv.value='3')   or (i.name='VOL' 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.7' and r.name='Ufenetres' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='MF' and iv.value='4')    or (i.name='VIT' and iv.value='3')   or (i.name='VOL' and iv.value='1')     );insert into r_result_val(value, result_id) select '2.14', r.id from r_result r where r.name='Ufenetres';insert into r_result_val(value, result_id) select '1.96', r.id from r_result r where r.name='Ufenetres';insert into r_result_val(value, result_id) select '2.94', r.id from r_result r where r.name='Ufenetres';insert into r_result_val(value, result_id) select '2.39', r.id from r_result r where r.name='Ufenetres'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.14' and r.name='Ufenetres' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='MF' and iv.value='1')    or (i.name='VIT' and iv.value='4')   or (i.name='VOL' 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.96' and r.name='Ufenetres' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='MF' and iv.value='2')    or (i.name='VIT' and iv.value='4')   or (i.name='VOL' 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='Ufenetres' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='MF' and iv.value='3')    or (i.name='VIT' and iv.value='4')   or (i.name='VOL' 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='Ufenetres' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='MF' and iv.value='4')    or (i.name='VIT' and iv.value='4')   or (i.name='VOL' and iv.value='1')     );insert into r_result_val(value, result_id) select '2.1', r.id from r_result r where r.name='Ufenetres';insert into r_result_val(value, result_id) select '1.95', r.id from r_result r where r.name='Ufenetres';insert into r_result_val(value, result_id) select '2.4', r.id from r_result r where r.name='Ufenetres';insert into r_result_val(value, result_id) select '2.4', r.id from r_result r where r.name='Ufenetres'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='Ufenetres' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='MF' and iv.value='1')    or (i.name='VIT' and iv.value='5')   or (i.name='VOL' 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.95' and r.name='Ufenetres' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='MF' and iv.value='2')    or (i.name='VIT' and iv.value='5')   or (i.name='VOL' 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.4' and r.name='Ufenetres' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='MF' and iv.value='3')    or (i.name='VIT' and iv.value='5')   or (i.name='VOL' 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.4' and r.name='Ufenetres' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='MF' and iv.value='4')    or (i.name='VIT' and iv.value='5')   or (i.name='VOL' and iv.value='1')     );
insert into r_result(name) values('TPV');insert into r_result_val(value, result_id) select '0.2969', r.id from r_result r where r.name='TPV';insert into r_result_val(value, result_id) select '0.2609', r.id from r_result r where r.name='TPV';insert into r_result(name) values('GCO2');insert into r_result_val(value, result_id) select '0.089', r.id from r_result r where r.name='GCO2';insert into r_result_val(value, result_id) select '0.234', r.id from r_result r where r.name='GCO2';insert into r_result_val(value, result_id) select '0.274', r.id from r_result r where r.name='GCO2';insert into r_result_val(value, result_id) select '0.32', r.id from r_result r where r.name='GCO2';insert into r_result_val(value, result_id) select '0.013', r.id from r_result r where r.name='GCO2';insert into r_result_val(value, result_id) select '0.384', r.id from r_result r where r.name='GCO2';insert into r_result_val(value, result_id) select '0.089', r.id from r_result r where r.name='GCO2';insert into r_result_val(value, result_id) select '0.205', r.id from r_result r where r.name='GCO2';insert into r_result(name) values('GCO2_ECS');insert into r_result_val(value, result_id) select '0.089', r.id from r_result r where r.name='GCO2_ECS';insert into r_result_val(value, result_id) select '0.234', r.id from r_result r where r.name='GCO2_ECS';insert into r_result_val(value, result_id) select '0.274', r.id from r_result r where r.name='GCO2_ECS';insert into r_result_val(value, result_id) select '0.32', r.id from r_result r where r.name='GCO2_ECS';insert into r_result_val(value, result_id) select '0.013', r.id from r_result r where r.name='GCO2_ECS';insert into r_result_val(value, result_id) select '0.384', r.id from r_result r where r.name='GCO2_ECS';insert into r_result_val(value, result_id) select '0.089', r.id from r_result r where r.name='GCO2_ECS';insert into r_result_val(value, result_id) select '0.205', r.id from r_result r where r.name='GCO2_ECS';insert into r_result(name) values('U1_MUR');insert into r_result_val(value, result_id) select '3.2', r.id from r_result r where r.name='U1_MUR';insert into r_result_val(value, result_id) select '2.65', r.id from r_result r where r.name='U1_MUR';insert into r_result_val(value, result_id) select '2.4', r.id from r_result r where r.name='U1_MUR';insert into r_result_val(value, result_id) select '2.05', r.id from r_result r where r.name='U1_MUR';insert into r_result_val(value, result_id) select '2.7', r.id from r_result r where r.name='U1_MUR';insert into r_result_val(value, result_id) select '1.98', r.id from r_result r where r.name='U1_MUR';insert into r_result_val(value, result_id) select '1.35', r.id from r_result r where r.name='U1_MUR';insert into r_result_val(value, result_id) select '1.6', r.id from r_result r where r.name='U1_MUR';insert into r_result_val(value, result_id) select '0.95', r.id from r_result r where r.name='U1_MUR';insert into r_result_val(value, result_id) select '3.5', r.id from r_result r where r.name='U1_MUR';insert into r_result_val(value, result_id) select '2.75', r.id from r_result r where r.name='U1_MUR';insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='U1_MUR';insert into r_result_val(value, result_id) select '2.15', r.id from r_result r where r.name='U1_MUR';insert into r_result_val(value, result_id) select '1.7', r.id from r_result r where r.name='U1_MUR';insert into r_result_val(value, result_id) select '2.8', r.id from r_result r where r.name='U1_MUR';insert into r_result_val(value, result_id) select '2.3', r.id from r_result r where r.name='U1_MUR';insert into r_result_val(value, result_id) select '0.47', r.id from r_result r where r.name='U1_MUR';insert into r_result_val(value, result_id) select '1.03', r.id from r_result r where r.name='U1_MUR';insert into r_result_val(value, result_id) select '0.55', r.id from r_result r where r.name='U1_MUR';insert into r_result_val(value, result_id) select '0.39', r.id from r_result r where r.name='U1_MUR';insert into r_result_val(value, result_id) select '0.98', r.id from r_result r where r.name='U1_MUR';insert into r_result_val(value, result_id) select '0.56', r.id from r_result r where r.name='U1_MUR';insert into r_result_val(value, result_id) select '0.42', r.id from r_result r where r.name='U1_MUR';insert into r_result_val(value, result_id) select '2.5', r.id from r_result r where r.name='U1_MUR';insert into r_result(name) values('U1_TOIT');insert into r_result_val(value, result_id) select '2.5', r.id from r_result r where r.name='U1_TOIT';insert into r_result_val(value, result_id) select '2.5', r.id from r_result r where r.name='U1_TOIT';insert into r_result_val(value, result_id) select '2.5', r.id from r_result r where r.name='U1_TOIT';insert into r_result_val(value, result_id) select '0.24', r.id from r_result r where r.name='U1_TOIT';insert into r_result_val(value, result_id) select '0.43', r.id from r_result r where r.name='U1_TOIT';insert into r_result_val(value, result_id) select '0.23', r.id from r_result r where r.name='U1_TOIT';insert into r_result_val(value, result_id) select '0.19', r.id from r_result r where r.name='U1_TOIT';insert into r_result_val(value, result_id) select '0.61', r.id from r_result r where r.name='U1_TOIT';insert into r_result_val(value, result_id) select '0.38', r.id from r_result r where r.name='U1_TOIT';insert into r_result_val(value, result_id) select '0.27', r.id from r_result r where r.name='U1_TOIT';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='U1_TOIT';insert into r_result_val(value, result_id) select '0.5', r.id from r_result r where r.name='U1_TOIT';insert into r_result_val(value, result_id) select '0.27', r.id from r_result r where r.name='U1_TOIT';insert into r_result(name) values('U1_SOL');insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='U1_SOL';insert into r_result_val(value, result_id) select '1.45', r.id from r_result r where r.name='U1_SOL';insert into r_result_val(value, result_id) select '1.1', r.id from r_result r where r.name='U1_SOL';insert into r_result_val(value, result_id) select '1.1', r.id from r_result r where r.name='U1_SOL';insert into r_result_val(value, result_id) select '1.6', r.id from r_result r where r.name='U1_SOL';insert into r_result_val(value, result_id) select '1.45', r.id from r_result r where r.name='U1_SOL';insert into r_result_val(value, result_id) select '1.6', r.id from r_result r where r.name='U1_SOL';insert into r_result_val(value, result_id) select '1.75', r.id from r_result r where r.name='U1_SOL';insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='U1_SOL';insert into r_result_val(value, result_id) select '0.8', r.id from r_result r where r.name='U1_SOL';insert into r_result_val(value, result_id) select '0.87', r.id from r_result r where r.name='U1_SOL';insert into r_result_val(value, result_id) select '0.56', r.id from r_result r where r.name='U1_SOL';insert into r_result_val(value, result_id) select '0.42', r.id from r_result r where r.name='U1_SOL';insert into r_result(name) values('lambda');insert into r_result_val(value, result_id) select '0.04', r.id from r_result r where r.name='lambda';insert into r_result_val(value, result_id) select '0.048', r.id from r_result r where r.name='lambda';insert into r_result_val(value, result_id) select '0.038', r.id from r_result r where r.name='lambda';insert into r_result_val(value, result_id) select '0.04', r.id from r_result r where r.name='lambda';insert into r_result_val(value, result_id) select '0.04', r.id from r_result r where r.name='lambda';insert into r_result_val(value, result_id) select '0.035', r.id from r_result r where r.name='lambda';insert into r_result_val(value, result_id) select '0.027', r.id from r_result r where r.name='lambda';insert into r_result_val(value, result_id) select '0.024', r.id from r_result r where r.name='lambda';insert into r_result_val(value, result_id) select '0.038', r.id from r_result r where r.name='lambda';insert into r_result_val(value, result_id) select '0.039', r.id from r_result r where r.name='lambda';insert into r_result_val(value, result_id) select '0.04', r.id from r_result r where r.name='lambda';insert into r_result(name) values('R');insert into r_result_val(value, result_id) select '3.5', r.id from r_result r where r.name='R';insert into r_result_val(value, result_id) select '4.25', r.id from r_result r where r.name='R';insert into r_result_val(value, result_id) select '5', r.id from r_result r where r.name='R';
insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.2969' and r.name='TPV' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='P' 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.2609' and r.name='TPV' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='P' 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.089' and r.name='GCO2' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 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='GCO2' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 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='GCO2' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 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.32' and r.name='GCO2' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 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='GCO2' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 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='GCO2' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 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.089' and r.name='GCO2' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 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.205' and r.name='GCO2' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 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.089' and r.name='GCO2_ECS' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 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='GCO2_ECS' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 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='GCO2_ECS' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 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.32' and r.name='GCO2_ECS' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 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='GCO2_ECS' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 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='GCO2_ECS' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 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.089' and r.name='GCO2_ECS' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 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.205' and r.name='GCO2_ECS' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 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 ='3.2' and r.name='U1_MUR' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TMUR' 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.65' and r.name='U1_MUR' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TMUR' 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.4' and r.name='U1_MUR' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TMUR' 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 ='2.05' and r.name='U1_MUR' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TMUR' 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.7' and r.name='U1_MUR' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TMUR' 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.98' and r.name='U1_MUR' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TMUR' 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.35' and r.name='U1_MUR' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TMUR' 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.6' and r.name='U1_MUR' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TMUR' 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.95' and r.name='U1_MUR' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TMUR' 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 ='3.5' and r.name='U1_MUR' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TMUR' 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 ='2.75' and r.name='U1_MUR' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TMUR' 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 ='2' and r.name='U1_MUR' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TMUR' 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 ='2.15' and r.name='U1_MUR' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TMUR' 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.7' and r.name='U1_MUR' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TMUR' 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 ='2.8' and r.name='U1_MUR' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TMUR' 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 ='2.3' and r.name='U1_MUR' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TMUR' 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 ='0.47' and r.name='U1_MUR' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TMUR' 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.03' and r.name='U1_MUR' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TMUR' 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.55' and r.name='U1_MUR' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TMUR' 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.39' and r.name='U1_MUR' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TMUR' 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 ='0.98' and r.name='U1_MUR' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TMUR' 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 ='0.56' and r.name='U1_MUR' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TMUR' 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 ='0.42' and r.name='U1_MUR' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TMUR' 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 ='2.5' and r.name='U1_MUR' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TMUR' 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 ='2.5' and r.name='U1_TOIT' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TTOIT' 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.5' and r.name='U1_TOIT' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TTOIT' 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 ='2.5' and r.name='U1_TOIT' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TTOIT' 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.24' and r.name='U1_TOIT' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TTOIT' 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.43' and r.name='U1_TOIT' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TTOIT' 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.23' and r.name='U1_TOIT' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TTOIT' 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.19' and r.name='U1_TOIT' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TTOIT' 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 ='0.61' and r.name='U1_TOIT' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TTOIT' 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 ='0.38' and r.name='U1_TOIT' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TTOIT' 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 ='0.27' and r.name='U1_TOIT' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TTOIT' 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='U1_TOIT' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TTOIT' 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 ='0.5' and r.name='U1_TOIT' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TTOIT' 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 ='0.27' and r.name='U1_TOIT' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TTOIT' 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 ='2' and r.name='U1_SOL' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TSOL' 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='U1_SOL' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TSOL' 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.1' and r.name='U1_SOL' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TSOL' 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.1' and r.name='U1_SOL' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TSOL' 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.6' and r.name='U1_SOL' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TSOL' 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.45' and r.name='U1_SOL' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TSOL' 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.6' and r.name='U1_SOL' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TSOL' 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.75' and r.name='U1_SOL' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TSOL' 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' and r.name='U1_SOL' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TSOL' 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.8' and r.name='U1_SOL' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TSOL' 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 ='0.87' and r.name='U1_SOL' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TSOL' 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 ='0.56' and r.name='U1_SOL' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TSOL' 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 ='0.42' and r.name='U1_SOL' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TSOL' 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 ='0.04' and r.name='lambda' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TISO' 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.048' and r.name='lambda' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TISO' 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.038' and r.name='lambda' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TISO' 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.04' and r.name='lambda' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TISO' 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.04' and r.name='lambda' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TISO' 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.035' and r.name='lambda' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TISO' 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.027' and r.name='lambda' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TISO' 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.024' and r.name='lambda' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TISO' 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.038' and r.name='lambda' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TISO' 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.039' and r.name='lambda' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TISO' 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 ='0.04' and r.name='lambda' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TISO' 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 ='3.5' and r.name='R' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TTV' 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.25' and r.name='R' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TTV' 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' and r.name='R' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TTV' and iv.value='3');
insert into r_result(name) values('U20_FEN');insert into r_result(name) values('U21_FEN');insert into r_result_val(value, result_id) select '2.8', r.id from r_result r where r.name='U20_FEN';insert into r_result_val(value, result_id) select '2.55', r.id from r_result r where r.name='U21_FEN'; insert into r_result_val(value, result_id) select '2.42', r.id from r_result r where r.name='U20_FEN';insert into r_result_val(value, result_id) select '2.2', r.id from r_result r where r.name='U21_FEN'; insert into r_result_val(value, result_id) select '2.35', r.id from r_result r where r.name='U20_FEN';insert into r_result_val(value, result_id) select '2.15', r.id from r_result r where r.name='U21_FEN'; insert into r_result_val(value, result_id) select '2.45', r.id from r_result r where r.name='U20_FEN';insert into r_result_val(value, result_id) select '2.25', r.id from r_result r where r.name='U21_FEN'; insert into r_result_val(value, result_id) select '2.14', r.id from r_result r where r.name='U20_FEN';insert into r_result_val(value, result_id) select '1.96', r.id from r_result r where r.name='U21_FEN'; insert into r_result_val(value, result_id) select '2.1', r.id from r_result r where r.name='U20_FEN';insert into r_result_val(value, result_id) select '1.95', r.id from r_result r where r.name='U21_FEN'; insert into r_result_val(value, result_id) select '', r.id from r_result r where r.name='U20_FEN';insert into r_result_val(value, result_id) select '', r.id from r_result r where r.name='U21_FEN'; insert into r_result(name) values('U1_FEN');insert into r_result_val(value, result_id) select '4.2', r.id from r_result r where r.name='U1_FEN';insert into r_result_val(value, result_id) select '3.9', r.id from r_result r where r.name='U1_FEN';insert into r_result_val(value, result_id) select '4.95', r.id from r_result r where r.name='U1_FEN';insert into r_result_val(value, result_id) select '4.95', r.id from r_result r where r.name='U1_FEN'; insert into r_result_val(value, result_id) select '2.9', r.id from r_result r where r.name='U1_FEN';insert into r_result_val(value, result_id) select '2.75', r.id from r_result r where r.name='U1_FEN';insert into r_result_val(value, result_id) select '4', r.id from r_result r where r.name='U1_FEN';insert into r_result_val(value, result_id) select '4', r.id from r_result r where r.name='U1_FEN'; insert into r_result_val(value, result_id) select '2.8', r.id from r_result r where r.name='U1_FEN';insert into r_result_val(value, result_id) select '2.55', r.id from r_result r where r.name='U1_FEN';insert into r_result_val(value, result_id) select '3.8', r.id from r_result r where r.name='U1_FEN';insert into r_result_val(value, result_id) select '3.15', r.id from r_result r where r.name='U1_FEN'; insert into r_result_val(value, result_id) select '2.42', r.id from r_result r where r.name='U1_FEN';insert into r_result_val(value, result_id) select '2.2', r.id from r_result r where r.name='U1_FEN';insert into r_result_val(value, result_id) select '3.42', r.id from r_result r where r.name='U1_FEN';insert into r_result_val(value, result_id) select '2.77', r.id from r_result r where r.name='U1_FEN'; insert into r_result_val(value, result_id) select '2.35', r.id from r_result r where r.name='U1_FEN';insert into r_result_val(value, result_id) select '2.15', r.id from r_result r where r.name='U1_FEN';insert into r_result_val(value, result_id) select '2.8', r.id from r_result r where r.name='U1_FEN';insert into r_result_val(value, result_id) select '2.8', r.id from r_result r where r.name='U1_FEN'; insert into r_result_val(value, result_id) select '3.55', r.id from r_result r where r.name='U1_FEN';insert into r_result_val(value, result_id) select '3.3', r.id from r_result r where r.name='U1_FEN';insert into r_result_val(value, result_id) select '4.05', r.id from r_result r where r.name='U1_FEN';insert into r_result_val(value, result_id) select '4.05', r.id from r_result r where r.name='U1_FEN'; insert into r_result_val(value, result_id) select '2.6', r.id from r_result r where r.name='U1_FEN';insert into r_result_val(value, result_id) select '2.5', r.id from r_result r where r.name='U1_FEN';insert into r_result_val(value, result_id) select '3.5', r.id from r_result r where r.name='U1_FEN';insert into r_result_val(value, result_id) select '3.5', r.id from r_result r where r.name='U1_FEN'; insert into r_result_val(value, result_id) select '2.45', r.id from r_result r where r.name='U1_FEN';insert into r_result_val(value, result_id) select '2.25', r.id from r_result r where r.name='U1_FEN';insert into r_result_val(value, result_id) select '3.25', r.id from r_result r where r.name='U1_FEN';insert into r_result_val(value, result_id) select '2.7', r.id from r_result r where r.name='U1_FEN'; insert into r_result_val(value, result_id) select '2.14', r.id from r_result r where r.name='U1_FEN';insert into r_result_val(value, result_id) select '1.96', r.id from r_result r where r.name='U1_FEN';insert into r_result_val(value, result_id) select '2.94', r.id from r_result r where r.name='U1_FEN';insert into r_result_val(value, result_id) select '2.39', r.id from r_result r where r.name='U1_FEN'; insert into r_result_val(value, result_id) select '2.1', r.id from r_result r where r.name='U1_FEN';insert into r_result_val(value, result_id) select '1.95', r.id from r_result r where r.name='U1_FEN';insert into r_result_val(value, result_id) select '2.4', r.id from r_result r where r.name='U1_FEN';insert into r_result_val(value, result_id) select '2.4', r.id from r_result r where r.name='U1_FEN'; insert into r_result(name) values('CX');insert into r_result_val(value, result_id) select '0', r.id from r_result r where r.name='CX';insert into r_result_val(value, result_id) select '0', r.id from r_result r where r.name='CX';insert into r_result_val(value, result_id) select '0', r.id from r_result r where r.name='CX';insert into r_result_val(value, result_id) select '0.93', r.id from r_result r where r.name='CX';insert into r_result_val(value, result_id) select '0.93', r.id from r_result r where r.name='CX';insert into r_result_val(value, result_id) select '0.93', r.id from r_result r where r.name='CX';insert into r_result_val(value, result_id) select '0.93', r.id from r_result r where r.name='CX';insert into r_result_val(value, result_id) select '0.93', r.id from r_result r where r.name='CX';insert into r_result_val(value, result_id) select '0', r.id from r_result r where r.name='CX';insert into r_result_val(value, result_id) select '0', r.id from r_result r where r.name='CX';insert into r_result_val(value, result_id) select '0', r.id from r_result r where r.name='CX';insert into r_result_val(value, result_id) select '0.9', r.id from r_result r where r.name='CX';insert into r_result_val(value, result_id) select '0.96', r.id from r_result r where r.name='CX';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='CX';insert into r_result_val(value, result_id) select '0.96', r.id from r_result r where r.name='CX';insert into r_result_val(value, result_id) select '0.9', r.id from r_result r where r.name='CX';insert into r_result_val(value, result_id) select '0', r.id from r_result r where r.name='CX';insert into r_result_val(value, result_id) select '0', r.id from r_result r where r.name='CX';insert into r_result_val(value, result_id) select '0', r.id from r_result r where r.name='CX';insert into r_result_val(value, result_id) select '0.84', r.id from r_result r where r.name='CX';insert into r_result_val(value, result_id) select '0.9', r.id from r_result r where r.name='CX';insert into r_result_val(value, result_id) select '0.96', r.id from r_result r where r.name='CX';insert into r_result_val(value, result_id) select '0.92', r.id from r_result r where r.name='CX';insert into r_result_val(value, result_id) select '0.84', r.id from r_result r where r.name='CX';insert into r_result_val(value, result_id) select '0', r.id from r_result r where r.name='CX';insert into r_result_val(value, result_id) select '0', r.id from r_result r where r.name='CX';insert into r_result_val(value, result_id) select '0', r.id from r_result r where r.name='CX';insert into r_result_val(value, result_id) select '0.78', r.id from r_result r where r.name='CX';insert into r_result_val(value, result_id) select '0.88', r.id from r_result r where r.name='CX';insert into r_result_val(value, result_id) select '0.91', r.id from r_result r where r.name='CX';insert into r_result_val(value, result_id) select '0.88', r.id from r_result r where r.name='CX';insert into r_result_val(value, result_id) select '0.78', r.id from r_result r where r.name='CX';insert into r_result_val(value, result_id) select '0', r.id from r_result r where r.name='CX';insert into r_result_val(value, result_id) select '0', r.id from r_result r where r.name='CX';insert into r_result_val(value, result_id) select '0', r.id from r_result r where r.name='CX';insert into r_result_val(value, result_id) select '0.55', r.id from r_result r where r.name='CX';insert into r_result_val(value, result_id) select '0.66', r.id from r_result r where r.name='CX';insert into r_result_val(value, result_id) select '0.68', r.id from r_result r where r.name='CX';insert into r_result_val(value, result_id) select '0.66', r.id from r_result r where r.name='CX';insert into r_result_val(value, result_id) select '0.55', r.id from r_result r where r.name='CX';
insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.8' and r.name='U20_FEN' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='TVIT' 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.55' and r.name='U21_FEN' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='TVIT' 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.42' and r.name='U20_FEN' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='TVIT' 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.2' and r.name='U21_FEN' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='TVIT' 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.35' and r.name='U20_FEN' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='TVIT' 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 ='2.15' and r.name='U21_FEN' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='TVIT' 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 ='2.45' and r.name='U20_FEN' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='TVIT' 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.25' and r.name='U21_FEN' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='TVIT' 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.14' and r.name='U20_FEN' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='TVIT' 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.96' and r.name='U21_FEN' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='TVIT' 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 ='2.1' and r.name='U20_FEN' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='TVIT' 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.95' and r.name='U21_FEN' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='TVIT' 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 ='' and r.name='U20_FEN' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='TVIT' and iv.value='')  );insert into r_value_assoc(resultval_id, inputval_id) select rv.id, iv.id from (select _rv.* from r_result_val _rv inner join r_result r on r.id=_rv.result_id where _rv.value ='' and r.name='U21_FEN' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='TVIT' and iv.value='')  ); insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.2' and r.name='U1_FEN' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='VOL' and iv.value='0')  or  (i.name='VIT' and iv.value='1')  or (i.name='MF' 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.9' and r.name='U1_FEN' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='VOL' and iv.value='0')  or  (i.name='VIT' and iv.value='1')  or (i.name='MF' 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.95' and r.name='U1_FEN' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='VOL' and iv.value='0')  or  (i.name='VIT' and iv.value='1')  or (i.name='MF' 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.95' and r.name='U1_FEN' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='VOL' and iv.value='0')  or  (i.name='VIT' and iv.value='1')  or (i.name='MF' 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.9' and r.name='U1_FEN' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='VOL' and iv.value='0')  or  (i.name='VIT' and iv.value='2')  or (i.name='MF' 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.75' and r.name='U1_FEN' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='VOL' and iv.value='0')  or  (i.name='VIT' and iv.value='2')  or (i.name='MF' 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='U1_FEN' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='VOL' and iv.value='0')  or  (i.name='VIT' and iv.value='2')  or (i.name='MF' 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='U1_FEN' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='VOL' and iv.value='0')  or  (i.name='VIT' and iv.value='2')  or (i.name='MF' 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.8' and r.name='U1_FEN' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='VOL' and iv.value='0')  or  (i.name='VIT' and iv.value='3')  or (i.name='MF' 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.55' and r.name='U1_FEN' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='VOL' and iv.value='0')  or  (i.name='VIT' and iv.value='3')  or (i.name='MF' 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 ='3.8' and r.name='U1_FEN' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='VOL' and iv.value='0')  or  (i.name='VIT' and iv.value='3')  or (i.name='MF' 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.15' and r.name='U1_FEN' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='VOL' and iv.value='0')  or  (i.name='VIT' and iv.value='3')  or (i.name='MF' 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.42' and r.name='U1_FEN' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='VOL' and iv.value='0')  or  (i.name='VIT' and iv.value='4')  or (i.name='MF' 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.2' and r.name='U1_FEN' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='VOL' and iv.value='0')  or  (i.name='VIT' and iv.value='4')  or (i.name='MF' 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 ='3.42' and r.name='U1_FEN' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='VOL' and iv.value='0')  or  (i.name='VIT' and iv.value='4')  or (i.name='MF' 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 ='2.77' and r.name='U1_FEN' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='VOL' and iv.value='0')  or  (i.name='VIT' and iv.value='4')  or (i.name='MF' 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.35' and r.name='U1_FEN' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='VOL' and iv.value='0')  or  (i.name='VIT' and iv.value='5')  or (i.name='MF' 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.15' and r.name='U1_FEN' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='VOL' and iv.value='0')  or  (i.name='VIT' and iv.value='5')  or (i.name='MF' 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.8' and r.name='U1_FEN' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='VOL' and iv.value='0')  or  (i.name='VIT' and iv.value='5')  or (i.name='MF' 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 ='2.8' and r.name='U1_FEN' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='VOL' and iv.value='0')  or  (i.name='VIT' and iv.value='5')  or (i.name='MF' 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.55' and r.name='U1_FEN' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='VOL' and iv.value='1')  or  (i.name='VIT' and iv.value='1')  or (i.name='MF' 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.3' and r.name='U1_FEN' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='VOL' and iv.value='1')  or  (i.name='VIT' and iv.value='1')  or (i.name='MF' 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.05' and r.name='U1_FEN' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='VOL' and iv.value='1')  or  (i.name='VIT' and iv.value='1')  or (i.name='MF' 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.05' and r.name='U1_FEN' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='VOL' and iv.value='1')  or  (i.name='VIT' and iv.value='1')  or (i.name='MF' 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.6' and r.name='U1_FEN' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='VOL' and iv.value='1')  or  (i.name='VIT' and iv.value='2')  or (i.name='MF' 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.5' and r.name='U1_FEN' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='VOL' and iv.value='1')  or  (i.name='VIT' and iv.value='2')  or (i.name='MF' 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 ='3.5' and r.name='U1_FEN' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='VOL' and iv.value='1')  or  (i.name='VIT' and iv.value='2')  or (i.name='MF' 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.5' and r.name='U1_FEN' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='VOL' and iv.value='1')  or  (i.name='VIT' and iv.value='2')  or (i.name='MF' 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.45' and r.name='U1_FEN' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='VOL' and iv.value='1')  or  (i.name='VIT' and iv.value='3')  or (i.name='MF' 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.25' and r.name='U1_FEN' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='VOL' and iv.value='1')  or  (i.name='VIT' and iv.value='3')  or (i.name='MF' 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 ='3.25' and r.name='U1_FEN' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='VOL' and iv.value='1')  or  (i.name='VIT' and iv.value='3')  or (i.name='MF' 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 ='2.7' and r.name='U1_FEN' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='VOL' and iv.value='1')  or  (i.name='VIT' and iv.value='3')  or (i.name='MF' 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.14' and r.name='U1_FEN' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='VOL' and iv.value='1')  or  (i.name='VIT' and iv.value='4')  or (i.name='MF' 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.96' and r.name='U1_FEN' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='VOL' and iv.value='1')  or  (i.name='VIT' and iv.value='4')  or (i.name='MF' 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.94' and r.name='U1_FEN' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='VOL' and iv.value='1')  or  (i.name='VIT' and iv.value='4')  or (i.name='MF' 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 ='2.39' and r.name='U1_FEN' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='VOL' and iv.value='1')  or  (i.name='VIT' and iv.value='4')  or (i.name='MF' 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.1' and r.name='U1_FEN' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='VOL' and iv.value='1')  or  (i.name='VIT' and iv.value='5')  or (i.name='MF' 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.95' and r.name='U1_FEN' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='VOL' and iv.value='1')  or  (i.name='VIT' and iv.value='5')  or (i.name='MF' 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.4' and r.name='U1_FEN' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='VOL' and iv.value='1')  or  (i.name='VIT' and iv.value='5')  or (i.name='MF' 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 ='2.4' and r.name='U1_FEN' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (  (i.name='VOL' and iv.value='1')  or  (i.name='VIT' and iv.value='5')  or (i.name='MF' 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='CX' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='OR' and iv.value='1')    or (i.name='INC' 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='CX' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='OR' and iv.value='2')    or (i.name='INC' 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='CX' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='OR' and iv.value='3')    or (i.name='INC' 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.93' and r.name='CX' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='OR' and iv.value='4')    or (i.name='INC' 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.93' and r.name='CX' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='OR' and iv.value='5')    or (i.name='INC' 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.93' and r.name='CX' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='OR' and iv.value='6')    or (i.name='INC' 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.93' and r.name='CX' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='OR' and iv.value='7')    or (i.name='INC' 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.93' and r.name='CX' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='OR' and iv.value='8')    or (i.name='INC' 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='CX' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='OR' and iv.value='1')    or (i.name='INC' 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='CX' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='OR' and iv.value='2')    or (i.name='INC' 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='CX' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='OR' and iv.value='3')    or (i.name='INC' 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='CX' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='OR' and iv.value='4')    or (i.name='INC' 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.96' and r.name='CX' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='OR' and iv.value='5')    or (i.name='INC' 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='CX' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='OR' and iv.value='6')    or (i.name='INC' 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.96' and r.name='CX' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='OR' and iv.value='7')    or (i.name='INC' 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='CX' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='OR' and iv.value='8')    or (i.name='INC' 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='CX' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='OR' and iv.value='1')    or (i.name='INC' 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='CX' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='OR' and iv.value='2')    or (i.name='INC' 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='CX' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='OR' and iv.value='3')    or (i.name='INC' 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.84' and r.name='CX' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='OR' and iv.value='4')    or (i.name='INC' 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='CX' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='OR' and iv.value='5')    or (i.name='INC' 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.96' and r.name='CX' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='OR' and iv.value='6')    or (i.name='INC' 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.92' and r.name='CX' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='OR' and iv.value='7')    or (i.name='INC' 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.84' and r.name='CX' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='OR' and iv.value='8')    or (i.name='INC' 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='CX' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='OR' and iv.value='1')    or (i.name='INC' 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='CX' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='OR' and iv.value='2')    or (i.name='INC' 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='CX' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='OR' and iv.value='3')    or (i.name='INC' 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.78' and r.name='CX' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='OR' and iv.value='4')    or (i.name='INC' 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.88' and r.name='CX' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='OR' and iv.value='5')    or (i.name='INC' 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.91' and r.name='CX' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='OR' and iv.value='6')    or (i.name='INC' 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.88' and r.name='CX' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='OR' and iv.value='7')    or (i.name='INC' 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.78' and r.name='CX' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='OR' and iv.value='8')    or (i.name='INC' 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='CX' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='OR' and iv.value='1')    or (i.name='INC' 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='CX' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='OR' and iv.value='2')    or (i.name='INC' 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='CX' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='OR' and iv.value='3')    or (i.name='INC' 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='CX' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='OR' and iv.value='4')    or (i.name='INC' 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.66' and r.name='CX' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='OR' and iv.value='5')    or (i.name='INC' 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.68' and r.name='CX' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='OR' and iv.value='6')    or (i.name='INC' 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.66' and r.name='CX' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='OR' and iv.value='7')    or (i.name='INC' 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='CX' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (       (i.name='OR' and iv.value='8')    or (i.name='INC' and iv.value='5')     );
insert into r_result(name) values('SCB');insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='SCB'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='SCB' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TOIT' and iv.value='1');insert into r_result_val(value, result_id) select '1.3', r.id from r_result r where r.name='SCB'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.3' and r.name='SCB' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TOIT' and iv.value='2');insert into r_result(name) values('Kportes');insert into r_result_val(value, result_id) select '3.5', r.id from r_result r where r.name='Kportes'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='Kportes' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TPOR' and iv.value='1');insert into r_result_val(value, result_id) select '4', r.id from r_result r where r.name='Kportes'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='Kportes' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TPOR' and iv.value='2');insert into r_result_val(value, result_id) select '4.5', r.id from r_result r where r.name='Kportes'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='Kportes' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TPOR' and iv.value='3');insert into r_result_val(value, result_id) select '3.3', r.id from r_result r where r.name='Kportes'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.3' and r.name='Kportes' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TPOR' and iv.value='4');insert into r_result_val(value, result_id) select '5.8', r.id from r_result r where r.name='Kportes'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.8' and r.name='Kportes' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TPOR' and iv.value='5');insert into r_result_val(value, result_id) select '5.8', r.id from r_result r where r.name='Kportes'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.8' and r.name='Kportes' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TPOR' and iv.value='6');insert into r_result_val(value, result_id) select '5.5', r.id from r_result r where r.name='Kportes'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.5' and r.name='Kportes' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TPOR' and iv.value='7');insert into r_result_val(value, result_id) select '4.8', r.id from r_result r where r.name='Kportes'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.8' and r.name='Kportes' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TPOR' and iv.value='8');insert into r_result_val(value, result_id) select '2', r.id from r_result r where r.name='Kportes'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='Kportes' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TPOR' and iv.value='9');insert into r_result_val(value, result_id) select '1.5', r.id from r_result r where r.name='Kportes'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='Kportes' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='TPOR' and iv.value='10');insert into r_result(name) values('a_ARA');insert into r_result_val(value, result_id) select '0.45', r.id from r_result r where r.name='a_ARA'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='a_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_result_val(value, result_id) select '0.35', r.id from r_result r where r.name='a_ARA'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='a_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_result_val(value, result_id) select '0.3', r.id from r_result r where r.name='a_ARA'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='a_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_result_val(value, result_id) select '0.25', r.id from r_result r where r.name='a_ARA'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.25' and r.name='a_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_result_val(value, result_id) select '0.2', r.id from r_result r where r.name='a_ARA'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='a_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_result_val(value, result_id) select '0.16', r.id from r_result r where r.name='a_ARA'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='a_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_result_val(value, result_id) select '0.14', r.id from r_result r where r.name='a_ARA'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='a_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_result_val(value, result_id) select '0.1', r.id from r_result r where r.name='a_ARA'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='a_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_result(name) values('a_sse');insert into r_result_val(value, result_id) select '0.03', r.id from r_result r where r.name='a_sse'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='a_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_result_val(value, result_id) select '0.023', r.id from r_result r where r.name='a_sse'; insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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.023' and r.name='a_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_result(name) values('SCA');insert into r_result(name) values('ST');insert into r_result(name) values('SP');insert into r_result(name) values('PTA');insert into r_result(name) values('PTAMAX');insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='SCA';insert into r_result_val(value, result_id) select '0', r.id from r_result r where r.name='ST';insert into r_result_val(value, result_id) select '0', r.id from r_result r where r.name='SP';insert into r_result_val(value, result_id) select '1.46', r.id from r_result r where r.name='PTA';insert into r_result_val(value, result_id) select '0.64', r.id from r_result r where r.name='PTAMAX';insert into r_result_val(value, result_id) select '0.5', r.id from r_result r where r.name='SCA';insert into r_result_val(value, result_id) select '0.5', r.id from r_result r where r.name='ST';insert into r_result_val(value, result_id) select '0', r.id from r_result r where r.name='SP';insert into r_result_val(value, result_id) select '1.46', r.id from r_result r where r.name='PTA';insert into r_result_val(value, result_id) select '0.64', r.id from r_result r where r.name='PTAMAX';insert into r_result_val(value, result_id) select '0', r.id from r_result r where r.name='SCA';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ST';insert into r_result_val(value, result_id) select '0', r.id from r_result r where r.name='SP';insert into r_result_val(value, result_id) select '1.46', r.id from r_result r where r.name='PTA';insert into r_result_val(value, result_id) select '0.64', r.id from r_result r where r.name='PTAMAX';insert into r_result_val(value, result_id) select '0', r.id from r_result r where r.name='SCA';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ST';insert into r_result_val(value, result_id) select '0', r.id from r_result r where r.name='SP';insert into r_result_val(value, result_id) select '1.96', r.id from r_result r where r.name='PTA';insert into r_result_val(value, result_id) select '0.74', r.id from r_result r where r.name='PTAMAX';insert into r_result_val(value, result_id) select '0', r.id from r_result r where r.name='SCA';insert into r_result_val(value, result_id) select '0.5', r.id from r_result r where r.name='ST';insert into r_result_val(value, result_id) select '0', r.id from r_result r where r.name='SP';insert into r_result_val(value, result_id) select '1.96', r.id from r_result r where r.name='PTA';insert into r_result_val(value, result_id) select '0.74', r.id from r_result r where r.name='PTAMAX';insert into r_result_val(value, result_id) select '0', r.id from r_result r where r.name='SCA';insert into r_result_val(value, result_id) select '0.5', r.id from r_result r where r.name='ST';insert into r_result_val(value, result_id) select '0.5', r.id from r_result r where r.name='SP';insert into r_result_val(value, result_id) select '2.11', r.id from r_result r where r.name='PTA';insert into r_result_val(value, result_id) select '1.29', r.id from r_result r where r.name='PTAMAX';insert into r_result_val(value, result_id) select '0', r.id from r_result r where r.name='SCA';insert into r_result_val(value, result_id) select '0', r.id from r_result r where r.name='ST';insert into r_result_val(value, result_id) select '0', r.id from r_result r where r.name='SP';insert into r_result_val(value, result_id) select '1.76', r.id from r_result r where r.name='PTA';insert into r_result_val(value, result_id) select '0.94', r.id from r_result r where r.name='PTAMAX';insert into r_result_val(value, result_id) select '0', r.id from r_result r where r.name='SCA';insert into r_result_val(value, result_id) select '0', r.id from r_result r where r.name='ST';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='SP';insert into r_result_val(value, result_id) select '1.91', r.id from r_result r where r.name='PTA';insert into r_result_val(value, result_id) select '1.49', r.id from r_result r where r.name='PTAMAX';insert into r_result_val(value, result_id) select '0', r.id from r_result r where r.name='SCA';insert into r_result_val(value, result_id) select '0', r.id from r_result r where r.name='ST';insert into r_result_val(value, result_id) select '0.5', r.id from r_result r where r.name='SP';insert into r_result_val(value, result_id) select '1.91', r.id from r_result r where r.name='PTA';insert into r_result_val(value, result_id) select '1.49', r.id from r_result r where r.name='PTAMAX';insert into r_result_val(value, result_id) select '0', r.id from r_result r where r.name='SCA';insert into r_result_val(value, result_id) select '0', r.id from r_result r where r.name='ST';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='SP';insert into r_result_val(value, result_id) select '1.51', r.id from r_result r where r.name='PTA';insert into r_result_val(value, result_id) select '1.39', r.id from r_result r where r.name='PTAMAX';insert into r_result_val(value, result_id) select '0', r.id from r_result r where r.name='SCA';insert into r_result_val(value, result_id) select '0', r.id from r_result r where r.name='ST';insert into r_result_val(value, result_id) select '0', r.id from r_result r where r.name='SP';insert into r_result_val(value, result_id) select '2.41', r.id from r_result r where r.name='PTA';insert into r_result_val(value, result_id) select '1.69', r.id from r_result r where r.name='PTAMAX';insert into r_result_val(value, result_id) select '0', r.id from r_result r where r.name='SCA';insert into r_result_val(value, result_id) select '0', r.id from r_result r where r.name='ST';insert into r_result_val(value, result_id) select '0.5', r.id from r_result r where r.name='SP';insert into r_result_val(value, result_id) select '1.91', r.id from r_result r where r.name='PTA';insert into r_result_val(value, result_id) select '1.49', r.id from r_result r where r.name='PTAMAX';insert into r_result_val(value, result_id) select '0', r.id from r_result r where r.name='SCA';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ST';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='SP';insert into r_result_val(value, result_id) select '2.11', r.id from r_result r where r.name='PTA';insert into r_result_val(value, result_id) select '1.29', r.id from r_result r where r.name='PTAMAX';insert into r_result_val(value, result_id) select '0', r.id from r_result r where r.name='SCA';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='ST';insert into r_result_val(value, result_id) select '0.5', r.id from r_result r where r.name='SP';insert into r_result_val(value, result_id) select '2.11', r.id from r_result r where r.name='PTA';insert into r_result_val(value, result_id) select '1.29', r.id from r_result r where r.name='PTAMAX';insert into r_result_val(value, result_id) select '0', r.id from r_result r where r.name='SCA';insert into r_result_val(value, result_id) select '0.5', r.id from r_result r where r.name='ST';insert into r_result_val(value, result_id) select '1', r.id from r_result r where r.name='SP';insert into r_result_val(value, result_id) select '2.11', r.id from r_result r where r.name='PTA';insert into r_result_val(value, result_id) select '1.29', r.id from r_result r where r.name='PTAMAX';
insert into r_value_assoc(resultval_id, inputval_id) select rv.id, 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='SCA' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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='ST' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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='SP' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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.46' and r.name='PTA' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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.64' and r.name='PTAMAX' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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.5' and r.name='SCA' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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.5' and r.name='ST' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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='SP' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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.46' and r.name='PTA' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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.64' and r.name='PTAMAX' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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='SCA' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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='ST' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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='SP' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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.46' and r.name='PTA' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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.64' and r.name='PTAMAX' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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='SCA' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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='ST' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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='SP' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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.96' and r.name='PTA' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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.74' and r.name='PTAMAX' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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='SCA' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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.5' and r.name='ST' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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='SP' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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.96' and r.name='PTA' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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='PTAMAX' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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='SCA' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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.5' and r.name='ST' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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.5' and r.name='SP' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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 ='2.11' and r.name='PTA' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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.29' and r.name='PTAMAX' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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='SCA' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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' and r.name='ST' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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' and r.name='SP' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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.76' and r.name='PTA' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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.94' and r.name='PTAMAX' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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' and r.name='SCA' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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='ST' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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='SP' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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.91' and r.name='PTA' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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.49' and r.name='PTAMAX' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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='SCA' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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='ST' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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.5' and r.name='SP' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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 ='1.91' and r.name='PTA' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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 ='1.49' and r.name='PTAMAX' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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='SCA' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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 ='0' and r.name='ST' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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='SP' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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.51' and r.name='PTA' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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.39' and r.name='PTAMAX' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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 ='0' and r.name='SCA' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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 ='0' and r.name='ST' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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 ='0' and r.name='SP' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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 ='2.41' and r.name='PTA' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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.69' and r.name='PTAMAX' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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 ='0' and r.name='SCA' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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 ='0' and r.name='ST' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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 ='0.5' and r.name='SP' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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.91' and r.name='PTA' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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.49' and r.name='PTAMAX' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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 ='0' and r.name='SCA' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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='ST' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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='SP' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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 ='2.11' and r.name='PTA' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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.29' and r.name='PTAMAX' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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 ='0' and r.name='SCA' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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='ST' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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 ='0.5' and r.name='SP' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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 ='2.11' and r.name='PTA' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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.29' and r.name='PTAMAX' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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 ='0' and r.name='SCA' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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 ='0.5' and r.name='ST' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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='SP' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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 ='2.11' and r.name='PTA' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' 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.29' and r.name='PTAMAX' and not exists   (select * from r_value_assoc va where va.resultval_id=_rv.id) limit 0,1) as rv inner join r_input_val iv inner join r_input i on i.id=iv.input_id where (i.name='CF' and iv.value='15');
insert into r_result(name) values('a_ICH*');insert into r_result_val(value, result_id) select '1.06', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '1.06', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '1.04', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '1.04', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '1.03', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '1.03', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '1.01', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '1.01', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '1.11', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '1.11', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '1.05', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '1.05', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '1.1', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '1.1', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '0.42', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '0.42', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '1.34', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '1.34', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '1.5', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '1.5', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '1.61', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '1.61', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '2.23', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '2.11', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '1.87', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '1.77', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '1.77', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '1.67', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '1.7', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '1.61', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '1.59', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '1.51', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '2.23', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '2.11', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '1.87', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '1.77', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '1.77', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '1.67', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '1.7', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '1.61', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '1.59', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '1.51', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '3.34', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '3.17', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '1.55', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '1.47', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '1.17', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '1.17', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '1.11', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '1.11', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '1.11', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '1.11', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '2.27', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '2.14', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '2.11', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '1.99', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '1.97', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '1.86', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '1.84', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '1.74', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '1.73', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '1.64', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '2.27', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '2.14', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '2.11', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '1.99', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '1.97', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '1.86', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '1.84', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '1.74', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '1.73', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '1.64', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '3.69', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '3.48', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '3.28', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '3.09', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '2.95', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '2.78', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '2.68', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '2.53', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '2.95', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '2.78', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '0.57', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '0.54', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '0.54', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '0.54', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '0.46', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '0.44', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '0.44', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '0.44', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '0.37', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '0.35', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '0.35', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '0.35', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '1.64', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '1.55', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '0.69', r.id from r_result r where r.name='a_ICH*';insert into r_result_val(value, result_id) select '0.69', r.id from r_result r where r.name='a_ICH*';
