悟生慧

 

2010年8月27日

两张表合并加标识根据ID

摘要: select fpt_point,dt,(case [type] when 1 then '充值' when 0 then '消费' else 'error' end)as [type] from(select fpd.fpt_point,fpd.dt,'1' as [type] from td_fullPointDetail fpd where fpd.mem_id=1union select ... 阅读全文

posted @ 2010-08-27 16:37 悟生慧 阅读(304) 评论(0) 推荐(0)

导航