摘要: select id, @group_row:=CASE when @parent_code=a.staff_id then @group_row+1 else 1 end as groupRow, @parent_code:=a.staff_id as parent_code from ss_sta 阅读全文
posted @ 2021-03-16 09:01 Logan_626 阅读(133) 评论(0) 推荐(0) 编辑