摘要:
匹配奇数行: select t1.TagDesc, SUM(t1.TimeDiff) AS "运行时间" from temp1_status t1 WHERE id&1 select t1.TagDesc, SUM(t1.TimeDiff) AS "运行时间" from temp1_status t 阅读全文
摘要:
正常查询语句: SELECT TagName FROM ps_status a WHERE a.TagName LIKE "DTmk_zybf%1bxxjcqh.PV" 查询结果: 为每行数据加上行号: SELECT ( @rowNum := @rowNum + 1 ) AS RowNo, TagN 阅读全文