V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  77alex  ›  全部回复第 9 页 / 共 9 页
回复总数  161
1  2  3  4  5  6  7  8  9  
2016-08-31 11:26:08 +08:00
回复了 KagamineLenKai2 创建的主题 MySQL SQL 苦手求 dalao 指点……
select apply_id ,operation_time as 接单时间,operator_remark as 退回原因 from (select ol_id,apply_id,before_status,operator_remark,operation_time from `operation` where before_status in (10002200,10005200) order by apply_id,before_status) aa group by apply_id,before_status;

这样?
1  2  3  4  5  6  7  8  9  
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   862 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 11ms · UTC 22:40 · PVG 06:40 · LAX 15:40 · JFK 18:40
♥ Do have faith in what you're doing.