ORDER BY Alias not working

后端 未结 6 1666
执笔经年
执笔经年 2020-12-06 13:39

UPDATING QUESTION:

ERROR:  column \"Fruits\" does not exist

Running Postgres 7.4(Yeah we are upgrading)

Why can\'t I ORDER BY the

6条回答
  •  春和景丽
    2020-12-06 14:24

    Try using backticks (`) instead of single/double quotes to wrap your alias name.

    Had the same issue with MySQL; backticks fixed the problem.

提交回复
热议问题