Changes between Version 47 and Version 48 of Noeud - parcours RHT
- Timestamp:
- Jan 8, 2012 10:54:56 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Noeud - parcours RHT
v47 v48 170 170 CREATE INDEX indexroev2_rhtvs2 ON rht.rhtvs2_roev2 171 171 USING GIST ( the_geom GIST_GEOMETRY_OPS ); 172 173 174 175 176 alter table rht.rhtvs2_roev2 add column nbdams integer; 177 update rht.rhtvs2_roev2 set nbdams=1; 178 179 ---Clause group by par id_bdcarthage 180 select id_drain, count(nbdams) as nbdams from rht.rht_bdcarthage_roev2 group by id_drain; 181 182 drop table if exists rht.rht_bdcarthage_roev2_nbdams; 183 create table rht.rht_bdcarthage_roev2_nbdams as 184 select id_drain, count(nbdams) as nbdams from rht.rht_bdcarthage_roev2 as r group by id_drain; 172 185 }}} 173 186