Re: Clean up shop database

From: Richard Klingler <richard(at)klingler(dot)net>
To: pgsql-sql(at)lists(dot)postgresql(dot)org
Subject: Re: Clean up shop database
Date: 2022-01-19 13:37:18
Message-ID: 20220119143718285650.48772b27@klingler.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Rob Sargent 2022-01-19 13:41:49 Re: Clean up shop database
Previous Message Rob Sargent 2022-01-19 13:32:19 Re: Clean up shop database