2020年2月6日

查询每个用户指定月份最后一天的收益

摘要: select o.AgentId ,o.Date,o.profit from agentprofit as o join (select a.AgentId,MAX(Date) as max_Date from agentprofit as a GROUP BY a.AgentId) as t on 阅读全文

posted @ 2020-02-06 16:00 落叶子 阅读(150) 评论(0) 推荐(0) 编辑

导航