having count() 无法去重
having count(distinct columnA) 会报错columnA字段错误
having count(columnA) 正常
使用select * 时 order by 会提示排序字段不在select 中
在select语句中使用具体字段
having count() 无法去重
having count(distinct columnA) 会报错columnA字段错误
having count(columnA) 正常
使用select * 时 order by 会提示排序字段不在select 中
在select语句中使用具体字段