I have a table that looks likes this:
该表包含 343 行。
我正在尝试对其运行此查询:
create table newTest2
select function_name, service_name, min(concurrency), substring_index(group_concat(date order by concurrency ), ',',1) as minDate,
max(concurrency), substring_index(group_concat(date order by concurrency desc), ',',1) as maxDate , avg(concurrency)
from conc_intermidate
group by function_name,service_name;
当我运行查询时,它给我:“第 203 行被 GROUP_CONCAT() 剪切”,我不知道为什么它给我这个错误。请帮忙!谢谢...
感谢 RobertRozas 为我提供了类似的帖子MySQL“第 30153 行被 GROUP_CONCAT() 剪切”错误 https://stackoverflow.com/questions/7208773/mysql-row-30153-was-cut-by-group-concat-error
I ran SET group_concat_max_len=15000;
并且查询运行完美。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)