Write SQL query to solve given problem: What is the average sales for each categories?. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT AVG(ProductSales) FROM `Sales by Category` GROUP BY CategoryName