PostgreSQL - Window Functions in PostgreSQL
Identify the error in this query:
SELECT customer_id, FIRST_VALUE(amount) OVER (PARTITION BY customer_id ORDER BY order_date ROWS UNBOUNDED PRECEDING) FROM orders;
