求sqlserver语句的实现插入ORDERS表Dates,Cno客户编号,Pno产品编号,Amount数量
select Cno,Pno,count(Amount) as 总数,avg(Price) as 平均单价 from Dates group by Cno,Pno where Pno=‘’