1,select makeflag,finishedgoodsflag,count(productid) from Production.Product group by finishedgoodsflag,makeflag
2,查询结果:
3,select makeflag,finishedgoodsflag,count(productid) from Production.Product group by finishedgoodsflag,makeflag with cube
4,使用with cube查询结果
|