摘要:
count(if(a.STS = #{sts}, a.sts, null)) as scssCnt, sum(if(a.sts = #{sts}, a.amt, 0)) as scssAMt View Code 阅读全文
摘要:
insert into table_name ( id, name ) ( select stu_id, stu_name from stu_table where stu_id = #{stuId} ) 阅读全文