MySQL中不允许使用列别名作为查询条件

在MySQL中有个特殊的规定,即不允许使用列别名作为查询条件。比如有下面一个表: select      ID,      title,      concept,      conceptLength,      addUserId,      modifyTime from collections_wisdom 将SQL修改如下: select      ID+1 as newID,     
相关文章
相关标签/搜索