注册

查询报错The level of nested set function is too deeply

ZMQ 2024/10/26 332 1

为提高效率,提问时请提供以下信息,问题描述清晰可优先响应。
【DM版本】:dm8
【操作系统】:linux
【CPU】:麒麟v10
【问题描述】*:执行sql报错The level of nested set function is too deeply该怎么解决
SELECT max(id) as id,
max(model_id) as model_id,
max(model_key) as model_key,
max(account_id) as account_id,
max(create_time) as create_time,
max(create_time) as create_time,
min(show_flag) as show_flag
FROM t_cmdb_entity_model_show
GROUP BY model_id,
model_key
HAVING min(show_flag) = 1
image.png

回答 0
暂无回答
扫一扫
联系客服