摘要: 说明:统计psyt类型的rw数量,psyt存储的格式(11,22,33,44)原理: substring_index(a.usualusecurrentstatusid, ',', n) 截取第n个逗号前的数字 substring_index(a.usualusecurrentstatusid, ' 阅读全文
posted @ 2023-01-18 11:23 z-double 阅读(387) 评论(0) 推荐(0) 编辑
摘要: 说明: 查出(11,22,44)对应(李三,王五,高胖) 的效果 GROUP_CONCAT 连接函数 FIND_IN_SET(需要查询的id, (11,22,33,44)) select GROUP_CONCAT(psyt.item_text),rp.id from rf_projectinfo r 阅读全文
posted @ 2023-01-18 11:22 z-double 阅读(16) 评论(0) 推荐(0) 编辑