Changes between Version 27 and Version 28 of CookBook join ROE_RHT


Ignore:
Timestamp:
Nov 2, 2011 11:50:20 AM (13 years ago)
Author:
celine
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CookBook join ROE_RHT

    v27 v28  
    210210 
    211211---Clause group by par id_bdcarthage 
    212 select id_drain, count(nb_dams) as nb_dams2 from rht.rht_bdcarthage_roev2 group by id_bdcarth, id_drain; 
    213  
    214 }}} 
     212select id_drain, count(nb_dams) as nb_dams2 from rht.rht_bdcarthage_roev2 group by id_drain; 
     213 
     214drop table if exists rht.rht_bdcarthage_roev2_nbdams; 
     215create table rht.rht_bdcarthage_roev2_nbdams as 
     216select id_drain, count(nb_dams) as nb_dams from rht.rht_bdcarthage_roev2 as r group by id_drain; 
     217}}}