摘要: mysql示例 SELECT case when @currentid <> t.id then @rownum :=1 else @rownum :=@rownum + 1 end AS row_num, case when @currentid <> t.id then @currentid : 阅读全文
posted @ 2024-05-22 10:50 鲸鱼zhang 阅读(139) 评论(0) 推荐(0) 编辑