QUERY PLAN
HashAggregate (cost=1.40..1.53 rows=5 width=196)
Group Key: product_id
-> Seq Scan on tbl_erp_inventory_products (cost=0.00..1.25 rows=7 width=20)
Filter: (product_id = ANY ('{2009,2008,2007,2006,2005,2004,2003,2002,2001,2000,1999,1998,1997,1996,1995,1994,1993,1992,1991,1990}'::integer[]))