日期:2014-05-17 浏览次数:20751 次
select b.ma,
(select a.v_date from tmp_table a where a.a=b.ma),
b.mb,
(select a.v_date from tmp_table a where a.b=b.mb),
b.mc,
(select a.v_date from tmp_table a where a.c=b.mc) from
(select max(a) ma,max(b) mb,max(c) mc from tmp_table)b