xms西软预定列表-房类市场
select b.descript,sum(a.quan) as quan,case WHEN c.descript is null THEN '团队预留' ELSE c.descript end as mkt_des ,count(distinct roomno) as room from rsvsrc a LEFT JOIN typim b on (a.hotelid=b.hotelid and a.type=b.code) LEFT JOIN basecode c on (a.market=c.code and c.cat='mktcode') where a.accnt in (select accnt from master where sta='R' or sta='I') group by a.type,a.market;
网名:浩秦;
邮箱:root#landv.pw;
博客:landv.cnblogs.com;
只要我能控制一個國家的貨幣發行,我不在乎誰制定法律。金錢一旦作響,壞話隨之戛然而止。