L207: ORDER BY invalid because the column name applies to result of UNION or UNION ALL.
See the section Error SQLCODES in your IBM Database Messages and Codes manual, message -207, for information.
Parent topic:
L200 - L299