摘要: 1、数据格式 根据projectorID字段分组(相同为一组),并添加序号 实现sql语句 SELECT ROW_NUMBER() OVER (PARTITION BY ProjectorID ORDER BY ProjectorID) AS numid,* FROM [iControl4].[db 阅读全文
posted @ 2023-03-08 14:26 じ逐梦 阅读(69) 评论(0) 推荐(0)
摘要: 一、MySql将逗号分隔字段分隔为多行 分隔前数据样式 语句实现: SELECT a.ControlKey, substring_index( substring_index( a.serialport, '|', b.help_topic_id + 1 ), '|',- 1 ) serialpor 阅读全文
posted @ 2023-03-08 10:19 じ逐梦 阅读(2313) 评论(0) 推荐(0)