Product files for SQL Query for PostgreSQL