Changes between Version 13 and Version 14 of Model Results
- Timestamp:
- Jan 20, 2012 3:22:36 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Model Results
v13 v14 70 70 drop table if exists rht.tableresultmodelVar; 71 71 create table rht.tableresultmodelVar as ( 72 select sub 8.*,72 select sub14.*, 73 73 sub9.res_value as p_urban, 74 74 sub10.res_value as p_up_urban, 75 75 sub11.res_value as p_agricultural, 76 76 sub12.res_value as p_up_agricultural, 77 sub13.res_value as p_unimpact, 78 sub14.res_value as p_up_no_impact 79 from 80 (select id_drain,dmer,dsource,res_value as exutoire, the_geom from rht.rhtvs2 join rht.resultmodel on res_id_drain=id_drain where 81 res_mod_id=8) as sub8 77 sub13.res_value as p_unimpact 78 from 79 (select id_drain,dmer,dsource,res_value as p_up_no_impact, the_geom from rht.rhtvs2 join rht.resultmodel on res_id_drain=id_drain where 80 res_mod_id=14) as sub14 82 81 join 83 82 (select id_drain, res_value from rht.rhtvs2 join rht.resultmodel on res_id_drain=id_drain where 84 83 res_mod_id=9) as sub9 85 on sub 8.id_drain=sub9.id_drain84 on sub14.id_drain=sub9.id_drain 86 85 join 87 86 (select id_drain, res_value from rht.rhtvs2 join rht.resultmodel on res_id_drain=id_drain where 88 87 res_mod_id=10) as sub10 89 on sub 8.id_drain=sub10.id_drain88 on sub14.id_drain=sub10.id_drain 90 89 join 91 90 (select id_drain, res_value from rht.rhtvs2 join rht.resultmodel on res_id_drain=id_drain where 92 91 res_mod_id=11) as sub11 93 on sub 8.id_drain=sub11.id_drain92 on sub14.id_drain=sub11.id_drain 94 93 join 95 94 (select id_drain, res_value from rht.rhtvs2 join rht.resultmodel on res_id_drain=id_drain where 96 95 res_mod_id=12) as sub12 97 on sub 8.id_drain=sub12.id_drain96 on sub14.id_drain=sub12.id_drain 98 97 join 99 98 (select id_drain, res_value from rht.rhtvs2 join rht.resultmodel on res_id_drain=id_drain where 100 99 res_mod_id=13) as sub13 101 on sub8.id_drain=sub13.id_drain 102 join 103 (select id_drain, res_value from rht.rhtvs2 join rht.resultmodel on res_id_drain=id_drain where 104 res_mod_id=14) as sub14 105 on sub8.id_drain=sub14.id_drain 100 on sub14.id_drain=sub13.id_drain 106 101 ); 107 102