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 9502 aaronmk
    , 'TEX'
10 7229 aaronmk
    , 'TRT'
11
    , 'TRTE'
12
    , 'UBC'
13
    , 'WIN'
14
)
15 9502 aaronmk
/* list obtained using the following on r9459:
16 9501 aaronmk
SELECT DISTINCT dataprovider
17 7229 aaronmk
FROM sourcelist
18 9501 aaronmk
JOIN provider_count ON provider_count.dataprovider = sourcelist.name
19 7229 aaronmk
WHERE source_id = source_by_shortname('GBIF')
20 9501 aaronmk
ORDER BY dataprovider
21 7229 aaronmk
*/
22
;