sql - counting number of entries in a month -


I have an order table, and it has the order-date column, which is called order_date. I have to calculate the number of orders of each month in 2009. How do I do this?

  Select the month (order-date) as the order, calculation (*) Order by order in order of order where year (order_data) = month by month (order_date) order (order_date)  

for reference, see Transact-SQL and command.


Comments

Popular posts from this blog

php - multilevel menu with multilevel array -

.net - C# List<T>.Find(x=>x.Rectangle.Contains(Point)) FAIL -

objective c - iPhone and it's wireless area -