且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在WHERE子句中引用列名别名

更新时间:2023-02-04 23:36:40

其中被评估的地方在 select 之前,因此您不能使用在 where $中的 select 中声明的别名。 c $ c>子句。

where is evaluated before select, so you can't use alias declared in select in where clause.