Project

General

Profile

« Previous | Next » 

Revision 10627

bugfix: inputs/VegBank/observation_/create.sql: ensure only one row per observation by selecting the first soilobs for each observation

View differences:

inputs/VegBank/observation_/create.sql
1
SELECT *
1
SELECT DISTINCT ON (observation_id) *
2 2
FROM observation
3 3
LEFT JOIN soilobs USING (observation_id)
4
ORDER BY observation_id, soilobs_id

Also available in: Unified diff