agora inbox for pgsql-sql@postgresql.org  
help / color / mirror / Atom feed
From: Richard Klingler <richard@klingler.net>
To: pgsql-sql@lists.postgresql.org
Subject: Re: Clean up shop database
Date: Wed, 19 Jan 2022 14:37:18 +0100
Message-ID: <20220119143718285650.48772b27@klingler.net> (raw)
In-Reply-To: <C586F023-3BD4-4488-A177-982458DFC133@gmail.com>
References: <20220119141711201637.c796844d@klingler.net>
	<C586F023-3BD4-4488-A177-982458DFC133@gmail.com>

On Wed, 19 Jan 2022 06:32:19 -0700, Rob Sargent wrote:
> 
>> No it does not...but I assume it lists products that where at least 
>> ordered before January 1st 2021
>> as it contains lower product IDs.
>> 
>> Hmm..gives me:
>> 
>>> ERROR:  function max(boolean) does not exist
>> LINE 5: having max(o.orderdate < '2021-01-01')
>> 
>> 
> Sorry
>> 
>> max(o.orderdate )< '2021-01-01'
> 
>> 

You're a genius :-)

Looks perfect...


kiitoksia
richard





view thread (12+ messages)  latest in thread

Message-ID: <20220119143718285650.48772b27@klingler.net>
Permalink:  ../20220119143718285650.48772b27@klingler.net/
Also on:    postgresql.org/message-id/20220119143718285650.48772b27@klingler.net

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: richard@klingler.net, pgsql-sql@lists.postgresql.org
  Subject: Re: Clean up shop database
  In-Reply-To: <20220119143718285650.48772b27@klingler.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox