The generated SQL code needs to wrap the sub-query in an extra pair of
parentheses.
I.e. the following is invalid SQL:
COALESCE( SELECT ... , ... )
This is the correct syntax:
COALESCE( (SELECT ...) , ... )
|
||
|---|---|---|
| .. | ||
| Test.hs | ||
The generated SQL code needs to wrap the sub-query in an extra pair of
parentheses.
I.e. the following is invalid SQL:
COALESCE( SELECT ... , ... )
This is the correct syntax:
COALESCE( (SELECT ...) , ... )
|
||
|---|---|---|
| .. | ||
| Test.hs | ||