OrderId OrderDate
10248 04-Aug-94
10249 05-Aug-94
10250 08-Aug-94
10251 08-Aug-94
10252 08-Aug-94
10270 01-Sep-94
10271 01-Sep-94
10272 02-Sep-94
10273 05-Sep-94
10274 06-Sep-94
现在要求用PROC SQL算出94年8月的订单有多少。
其它步骤我都会,就是不知where语句该怎么弄。
proc sql;
select OrderDate,count (OrderDate) AS N
from x
where
group by OrderDate;
quit;
请大家教教我该怎么弄?