Revision 13542
Added by Aaron Marcuse-Kubitza over 10 years ago
vegbien.sql | ||
---|---|---|
5427 | 5427 |
|
5428 | 5428 |
|
5429 | 5429 |
-- |
5430 |
-- Name: 2014-3-11.Jeff_Ott.climatic_range_determinants; Type: VIEW; Schema: public; Owner: - |
|
5431 |
-- |
|
5432 |
|
|
5433 |
CREATE VIEW "2014-3-11.Jeff_Ott.climatic_range_determinants" AS |
|
5434 |
SELECT analytical_stem.datasource, |
|
5435 |
analytical_stem."decimalLatitude", |
|
5436 |
analytical_stem."decimalLongitude", |
|
5437 |
analytical_stem."higherPlantGroup_bien" AS "higherPlantGroup", |
|
5438 |
analytical_stem.scrubbed_family AS family, |
|
5439 |
analytical_stem.scrubbed_genus AS genus, |
|
5440 |
analytical_stem.scrubbed_species_binomial AS "speciesBinomial", |
|
5441 |
analytical_stem.scrubbed_taxon_name_with_author AS "scientificName" |
|
5442 |
FROM analytical_stem |
|
5443 |
WHERE (((((COALESCE((analytical_stem.geovalid_bien)::boolean, true) AND COALESCE((analytical_stem."isNewWorld_bien")::boolean, false)) AND (NOT COALESCE((analytical_stem.cultivated_bien)::boolean, false))) AND (analytical_stem.scrubbed_taxon_name_with_author IS NOT NULL)) AND (analytical_stem."decimalLatitude" IS NOT NULL)) AND (analytical_stem."decimalLongitude" IS NOT NULL)); |
|
5444 |
|
|
5445 |
|
|
5446 |
-- |
|
5430 | 5447 |
-- Name: address; Type: TABLE; Schema: public; Owner: -; Tablespace: |
5431 | 5448 |
-- |
5432 | 5449 |
|
... | ... | |
15949 | 15966 |
|
15950 | 15967 |
|
15951 | 15968 |
-- |
15969 |
-- Name: 2014-3-11.Jeff_Ott.climatic_range_determinants; Type: ACL; Schema: public; Owner: - |
|
15970 |
-- |
|
15971 |
|
|
15972 |
REVOKE ALL ON TABLE "2014-3-11.Jeff_Ott.climatic_range_determinants" FROM PUBLIC; |
|
15973 |
REVOKE ALL ON TABLE "2014-3-11.Jeff_Ott.climatic_range_determinants" FROM bien; |
|
15974 |
GRANT ALL ON TABLE "2014-3-11.Jeff_Ott.climatic_range_determinants" TO bien; |
|
15975 |
GRANT SELECT ON TABLE "2014-3-11.Jeff_Ott.climatic_range_determinants" TO bien_read; |
|
15976 |
|
|
15977 |
|
|
15978 |
-- |
|
15952 | 15979 |
-- Name: address; Type: ACL; Schema: public; Owner: - |
15953 | 15980 |
-- |
15954 | 15981 |
|
Also available in: Unified diff
schemas/public_.sql: added 2014-3-11.Jeff_Ott.climatic_range_determinants