injectionPmfm.xml 1.97 KB
Newer Older
PECQUOT's avatar
PECQUOT committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?xml version="1.0" encoding="UTF-8"?>
<!--
  #%L
  Dali :: Core
  %%
  Copyright (C) 2017 Ifremer
  %%
  This program is free software: you can redistribute it and/or modify
  it under the terms of the GNU Affero General Public License as published by
  the Free Software Foundation, either version 3 of the License, or
  (at your option) any later version.
  
  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.
  
  You should have received a copy of the GNU Affero General Public License
  along with this program.  If not, see <http://www.gnu.org/licenses/>.
  #L%
  -->


<query type="select">

  <select alias="PMFM_ALIAS" type="number" group="PMFM_ALIAS_numerical_without_zero"><![CDATA[PMFM_ALIAS.MEAS_NUMER_VALUE]]></select>
  <select alias="PMFM_ALIAS" type="number" group="PMFM_ALIAS_numerical_with_zero"><![CDATA[NVL(PMFM_ALIAS.MEAS_NUMER_VALUE,0)]]></select>
  <select alias="PMFM_ALIAS" type="text" group="PMFM_ALIAS_qualitative"><![CDATA[PMFM_ALIAS.QUAL_VALUE_NM]]></select>

  <from join="true" group="PMFM_ALIAS_surveyJoin">
31
    <![CDATA[LEFT OUTER JOIN &PMFM_ALIAS_pmfmTableName PMFM_ALIAS ON PMFM_ALIAS.PARENT_ID = C.SURVEY_ID]]>
PECQUOT's avatar
PECQUOT committed
32
33
  </from>
  <from join="true" group="PMFM_ALIAS_samplingOperationJoin">
34
    <![CDATA[LEFT OUTER JOIN &PMFM_ALIAS_pmfmTableName PMFM_ALIAS ON PMFM_ALIAS.PARENT_ID = C.SAMPLING_OPER_ID]]>
PECQUOT's avatar
PECQUOT committed
35
36
  </from>
  <from join="true" group="PMFM_ALIAS_surveyJoin_individual">
37
    <![CDATA[LEFT OUTER JOIN &PMFM_ALIAS_pmfmTableName PMFM_ALIAS ON PMFM_ALIAS.PARENT_ID = C.SURVEY_ID AND PMFM_ALIAS.MEAS_INDIV_ID = C.MEAS_INDIV_ID]]>
PECQUOT's avatar
PECQUOT committed
38
39
  </from>
  <from join="true" group="PMFM_ALIAS_samplingOperationJoin_individual">
40
    <![CDATA[LEFT OUTER JOIN &PMFM_ALIAS_pmfmTableName PMFM_ALIAS ON PMFM_ALIAS.PARENT_ID = C.SAMPLING_OPER_ID AND PMFM_ALIAS.MEAS_INDIV_ID = C.MEAS_INDIV_ID]]>
PECQUOT's avatar
PECQUOT committed
41
42
43
  </from>

</query>