title: Oracle SQL invalid argument
body: <p>I try to add another <code>MAX(DECODE(SPØRGSMÅL_ID, 101, KARAKTER))</code> to this statement, but gives me invalid argument? What is the problem?</p>
  
  <p><strong>This works and is the original query</strong></p>
  
  <pre><code>MAX(DECODE(SPØRGSMÅL_ID, 47, KARAKTER)) AS SP1,
  to_number(concat(concat(MAX(DECODE(SPØRGSMÅL_ID, 141, KARAKTER)),
  MAX(DECODE(SPØRGSMÅL_ID, 161, KARAKTER))),MAX(DECODE(SPØRGSMÅL_ID, 121, KARAKTER)))) AS SP2
  </code></pre>
  
  <p><strong>This doesn't work and is giving me an invalid argument error</strong></p>
  
  <pre><code>MAX(DECODE(SPØRGSMÅL_ID, 47, KARAKTER)) AS SP1,
  to_number(concat(concat(MAX(DECODE(SPØRGSMÅL_ID, 141, KARAKTER)),
  MAX(DECODE(SPØRGSMÅL_ID, 161, KARAKTER))),
  MAX(DECODE(SPØRGSMÅL_ID, 121, KARAKTER))), MAX(DECODE(SPØRGSMÅL_ID, 101, KARAKTER)) AS SP2
  </code></pre>