Oracle 等中的 group by與where 子句不能使用別名的緣由與解決辦法

下面的語句執行的話會報錯:ORA-00904: "CALLT": 標示符無效mysql select case when ta.call_time = 0 then 0 when ta.call_time <= 6 and ta.call_time > 0 then 1 when ta.call_time <= 60 and ta.call_time > 6 then 2
相關文章
相關標籤/搜索