Opened 11 years ago
Closed 11 years ago
#1100 closed task (fixed)
Add Continent and Subcontinent to Tax_Geo_Map DV
| Reported by: | nssljp | Owned by: | nssljp |
|---|---|---|---|
| Priority: | medium | Milestone: | Post-NPGS Prod'n |
| Component: | Dataviews (CT) | Version: | 1.9.4 Server |
| Severity: | Keywords: | ||
| Cc: | Kurt Endress | Database Engine: | N/A |
| Operating System: | N/A |
Description
Add two columns as read only to the get_taxonomy_geography_map dataview.
The columns of interest are Continent and Subcontinent from the Region table.
Here is example code tested on 1.9.1 (Server)
(SELECT continent
FROM geography_region_map AS georeg
INNER JOIN region AS reg
ON reg.region_id = georeg.region_id
WHERE tgm.geography_id = georeg.geography_id) AS continent,
(SELECT subcontinent
FROM geography_region_map AS georeg
INNER JOIN region AS reg
ON reg.region_id = georeg.region_id
WHERE tgm.geography_id = georeg.geography_id) AS subcontinent,
Change History (3)
comment:1 by , 11 years ago
comment:2 by , 11 years ago
| Milestone: | Post 1.0 → Post-NPGS Prod'n |
|---|
comment:3 by , 11 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Dataview installed on npgsdb/web from file 2015_12_22_get_taxonomy_geography_map

npgsdev dataview changed and saved to file 2015_12_22_get_taxonomy_geography_map
added the two fields from region before note field and added two left joins
FROM