Project

General

Profile

1 7229 aaronmk
CREATE INDEX ON :table ("InstitutionCD");
2
3
-- Remove institutions that we have direct data for
4
DELETE FROM :table
5
WHERE "InstitutionCD" IN (
6
      'ACAD'
7
    , 'MT'
8
    , 'QFA'
9
    , 'TRT'
10
    , 'TRTE'
11
    , 'UBC'
12
    , 'WIN'
13
)
14
/* list obtained using:
15 9501 aaronmk
SELECT DISTINCT dataprovider
16 7229 aaronmk
FROM sourcelist
17 9501 aaronmk
JOIN provider_count ON provider_count.dataprovider = sourcelist.name
18 7229 aaronmk
WHERE source_id = source_by_shortname('GBIF')
19 9501 aaronmk
ORDER BY dataprovider
20 7229 aaronmk
*/
21
;