95 | | ---Irl_Atl |
96 | | insert into europe.wso(wso_id) |
97 | | (select wso_id from europe.wso where area='Ireland' |
98 | | intersect (select wso_id from ccm21.seaoutlets where area_cd='A1')); |
99 | | UPDATE europe.wso set area='Irl_Atl' where area IS NULL; |
| 96 | --WRB |
| 97 | insert into europe.wso(wso_id) |
| 98 | select distinct on (wso_id) wso_id from ccm21.riversegments r |
| 99 | join (SELECT the_geom |
| 100 | FROM european_wise2008.rbd_f1v3 As f where gid=39) as sub |
| 101 | ON ST_Intersects(sub.the_geom,r.the_geom); |
| 102 | UPDATE europe.wso set area='Western' where area IS NULL; |