2017年12月28日

mysql 變量 的使用

摘要: select t1.base_Oid t1base_oid ,sum(t1.TwoGeneration_tgroup_commission_amount) TwoGeneration_tgroup_commission_amount from (select base.oid base_Oid ,b 阅读全文

posted @ 2017-12-28 11:31 跳刀玛利亚 阅读(129) 评论(0) 推荐(0) 编辑

case when then end

摘要: select tmp.kaquanbiaoti '卡券标题',tmp.userPhone '注册手机号' ,baseaccount.realName '姓名' ,tmp.jine '金额', CASE tmp.lingyongzhuangtai when 'notUsed' then '未使用' w 阅读全文

posted @ 2017-12-28 11:29 跳刀玛利亚 阅读(102) 评论(0) 推荐(0) 编辑

导航