有写过这种操作的吗,帮我看一下,里面count的那个字段,也是7位数的那个index,但是我写成countl ,然后想把7位数的也显示出来有写过这种操作的吗,帮我看一下
Mysql,查询,统计,里面count的那个字段,也是7位数的那个index,但是我写成countl ,然后想把7位数的也显示出来有写过这种操作的吗,帮我看一下
- 写回答
- 好问题 0 提建议
- 追加酬金
- 关注问题
- 邀请回答
-
1条回答 默认 最新
- wux_labs 2023-03-03 11:26关注
具体要求是什么样的?使用
group_concat
应该可以满足你的需求。如果有用,望采纳,谢谢!select parent_player_id as parentPlayerId,parent_player_index as parentPlayerIndex, count(child_player_index) as childPlayerIndex,group_concat(child_player_index) from t_player_parent group by parent_player_id,parent_player_index order by childPlayerIndex desc
本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报 编辑记录
悬赏问题
- ¥30 模拟电路 logisim
- ¥15 PVE8.2.7无法成功使用a5000的vGPU,什么原因
- ¥15 is not in the mmseg::model registry。报错,模型注册表找不到自定义模块。
- ¥15 安装quartus II18.1时弹出此error,怎么解决?
- ¥15 keil官网下载psn序列号在哪
- ¥15 想用adb命令做一个通话软件,播放录音
- ¥30 Pytorch深度学习服务器跑不通问题解决?
- ¥15 部分客户订单定位有误的问题
- ¥15 如何在maya程序中利用python编写领子和褶裥的模型的方法
- ¥15 Bug traq 数据包 大概什么价