Closed dnicolodi closed 5 months ago
Only targets in the SELECT target list can be referenced by column number in the ORDER BY clause, not auxiliary targets added to compute the GROUP BY clause.
Only targets in the SELECT target list can be referenced by column number in the ORDER BY clause, not auxiliary targets added to compute the GROUP BY clause.