6,128
社区成员




SELECT dtSTime, dtETime,SUM(iCount) AS icount,(case when tLP.dDoPrice=0 then '小' else '大' end) as cStyle
FROM tLP
GROUP BY dtSTime, dtETime,case when tLP.dDoPrice=0 then '小' else '大' end
select dtstime,dtetime,sum(icount) as icount,
case when dDoPrice=0 then '小' else '大' end as cStyle from tLP
group by dtstime,dtetime,case when dDoPrice=0 then '小' else '大' end
select dtSTime, dtETime, sum(iCount) as iCount from tLP
group by dtSTime, dtETime