摘要: 一.从test02表中查询每个uid最早登录的前2天 表如下图所示: select * from (select uid,day, @ROW := case when @uuid=uid then @ROW+1 else 1 END rn, @uuid:=uid from (select uid,d 阅读全文
posted @ 2019-12-04 15:46 zhangqi00 阅读(4408) 评论(0) 推荐(1) 编辑