Code:
select trunc(date,'mm'), customer, count(*) 
  from orders
 group by trunc(date,'mm'), customer