Write SQL query to solve given problem: Calculate the average amount of payments made by customers during the first half of 2004.. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT AVG(amount) FROM payments WHERE paymentDate BETWEEN '2004-01-01' AND '2004-06-30'