Changes between Version 3 and Version 4 of Station Hydro
- Timestamp:
- Mar 5, 2012 3:28:55 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Station Hydro
v3 v4 43 43 44 44 -- Récupération des attributs Rht -- 45 drop table if exists pate.station_hydro_rhtvs2; 45 46 create table pate.station_hydro_rhtvs2 as ( 46 select s.*, a.module_icinf, a.module, a.module_icsup, a.surf_bv, r.dmer , r.dsource from pate.station_hydro s47 select s.*, a.module_icinf, a.module, a.module_icsup, a.surf_bv, r.dmer/1000 as dmer, r.dsource/1000 as dsource from pate.station_hydro s 47 48 join rht.rhtvs2 r on s.id_drain=r.id_drain 48 49 join rht.attributs_rht_fev_2011_vs2 a on s.id_drain=a.id_drain); … … 51 52 update pate.station_hydro_rhtvs2 set drelative=dmer/(dmer+dsource)*100; 52 53 54 COPY pate.station_hydro_rhtvs2 TO 'D:/CelineJouanin/PATE/Station_Hydro_rhtvs2.csv' with csv header delimiter as ';' 55 53 56 }}}