Changes between Version 13 and Version 14 of PATE Anguille


Ignore:
Timestamp:
Feb 2, 2012 10:12:25 AM (13 years ago)
Author:
celine
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PATE Anguille

    v13 v14  
    4646create table rht.rhtvs2_roe_pate_bv11axes as ( 
    4747select  b.*, t.dmer, module, module_icinf, module_icsup, minqmx, minqmxicinf, minqmxicsup, cumnbbar, etatnom from rht.roe_pate_bv11axes b      
    48         join roe_v2.pre_ice_v2 r on r.id_roe=b.id_roe 
    49         join rht.rhtvs2 t on t.id_drain=b.id_drain 
    50         join rht.attributs_rht_fev_2011_vs2 a on b.id_drain=a.id_drain); 
     48        left join roe_v2.pre_ice_v2 r on r.id_roe=b.id_roe 
     49        left join rht.rhtvs2 t on t.id_drain=b.id_drain 
     50        left join rht.attributs_rht_fev_2011_vs2 a on b.id_drain=a.id_drain); 
    5151 
     52select count(*) from rht.rhtvs2_roe_pate_bv11axes ---398 
     53select count(*) from rht.rhtvs2_roe_pate_bv11axes where a_conserver='TRUE' ---376 
     54 
     55drop table if exists rht.pate; 
    5256alter table rht.rhtvs2_roe_pate_bv11axes rename to rht.pate; 
    5357COMMENT ON TABLE rht.pate IS 'Table pate comes from roe_pate_bv11axes.xls'