Changes between Version 47 and Version 48 of Noeud - parcours RHT


Ignore:
Timestamp:
Jan 8, 2012 10:54:56 PM (13 years ago)
Author:
celine
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Noeud - parcours RHT

    v47 v48  
    170170CREATE INDEX indexroev2_rhtvs2 ON rht.rhtvs2_roev2 
    171171  USING GIST ( the_geom GIST_GEOMETRY_OPS ); 
     172 
     173 
     174 
     175 
     176alter table rht.rhtvs2_roev2 add column nbdams integer; 
     177update rht.rhtvs2_roev2 set nbdams=1; 
     178 
     179---Clause group by par id_bdcarthage 
     180select id_drain, count(nbdams) as nbdams from rht.rht_bdcarthage_roev2 group by id_drain; 
     181 
     182drop table if exists rht.rht_bdcarthage_roev2_nbdams; 
     183create table rht.rht_bdcarthage_roev2_nbdams as 
     184select id_drain, count(nbdams) as nbdams from rht.rht_bdcarthage_roev2 as r group by id_drain; 
    172185}}} 
    173186