IT

select sum(case  when xseventype<>'' then 1 else 0 end), 
       sum(case  when zaeventype<>'' then 1 else 0 end),hotelcode
from info_hotelevent group by hotelcode

 

posted on 2009-03-23 17:10  liufei  阅读(148)  评论(0编辑  收藏  举报