daily pastebin goal
58%
SHARE
TWEET

Untitled

a guest Dec 15th, 2018 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. SELECT
  2. (
  3.   SELECT ARRAY_AGG(coalesce(ncbi_nodes.superkingdom, '--') || '|' || coalesce(ncbi_nodes.kingdom, '--'))
  4.   FROM ncbi_nodes
  5.   WHERE taxon_id in (SELECT ncbi_names.taxon_id from ncbi_names where lower(gbif_ct.class_name) =  lower(ncbi_names.name))
  6. ) AS ncbi_taxa
  7.  
  8. FROM combine_taxa as gbif_ct
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top