public inbox for [email protected]
help / color / mirror / Atom feedFrom: Adrian Klaver <[email protected]>
To: Jean-Christophe BOGGIO <[email protected]>
To: Torsten Förtsch <[email protected]>
Cc: [email protected]
Subject: Re: Strange behaviors with ranges
Date: Tue, 27 Aug 2024 11:27:42 -0700
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
<[email protected]>
<CAKkG4_=nj6sdNg2VGfsbWsRbdgTGAoOWLusZTcVdCeNpnt1-DA@mail.gmail.com>
<[email protected]>
<[email protected]>
On 8/27/24 11:16 AM, Adrian Klaver wrote:
>
>
> On 8/27/24 11:13 AM, Jean-Christophe BOGGIO wrote:
>> Le 27/08/2024 à 19:51, Torsten Förtsch a écrit :
>>> I guess this query comes back non-empty:
>>>
>>> SELECT * FROM paliers JOIN tmp_limitcontrats USING(idcontrat) WHERE
>>> qtep1 >= qtep2
>>
>> Yes, it is empty if I keep tmp_limitcontrats to idcontrat=1003
>>
>> Otherwise, you are right, there are irregular data but not that I'm
>> concerned with in that particular case.
>>
>
> ?:
> SELECT numrange( qtep1+1 , qtep2, '[]') AS rangep FROM paliers JOIN
> tmp_limitcontrats USING(idcontrat) where qtep1+1 < qtep2
>
Actually that should be:
qtep1+1 <= qtep2
--
Adrian Klaver
[email protected]
view thread (3+ messages)
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: [email protected]
Cc: [email protected], [email protected], [email protected], [email protected]
Subject: Re: Strange behaviors with ranges
In-Reply-To: <[email protected]>
* 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