I am converting Oracle Syntax into Postgres
SELECT MSN_INT_ID,
MO_INT_ID,
'Y' "AIRMOVE"
FROM MISSION_OBJECTIVE
WHERE MO_MSN_CLASS_CD = 'AMV'
GROUP BY MSN_INT_ID,
MO_INT_ID
This part is confusing me:
SELECT MSN_INT_ID,
MO_INT_ID,
'Y' "AIRMOVE"
What is the ‘Y’ “AIRMOVE” doing?
The snippet
'Y' "AIRMOVE"introduces a computed column into the select-list namedAIRMOVEwhose value is always'Y'.