快速解决方法: 没有在 group by 中出现的列, 放进 ANY_VALUE() 中。 例如: SELECT it.id, ANY_VALUE(itt.operator_time) as operator_time xxxxx GROUP BY it.id