SyntaxFix
Write A Post
Hire A Developer
Questions
T-SQL doesn't support arrays that I'm aware of.
What's your table structure? You could probably design a query that does this instead:
select month, sum(sales) from sales_table group by month order by month