public inbox for [email protected]  
help / color / mirror / Atom feed
From: David G. Johnston <[email protected]>
To: Anthony Apollis <[email protected]>
Cc: [email protected] <[email protected]>
Subject: Re: TSQL To Postgres - Unpivot/Union All
Date: Thu, 20 Jul 2023 05:48:22 -0700
Message-ID: <CAKFQuwZi0MzMxNghVk8DBiqACbjp8YNFKF9g44_hK1dBX8BzhA@mail.gmail.com> (raw)
In-Reply-To: <CAJyMCYLL-mMuCfXT8M1kD-=6=r8YHHrSGbT-rN25vCwtVyr1jg@mail.gmail.com>
References: <CAJyMCYJ+JGpHtpV36UP+kUAW4LoprmgbgDPLCpe_8A0xbe=GZA@mail.gmail.com>
	<CAJyMCYLL-mMuCfXT8M1kD-=6=r8YHHrSGbT-rN25vCwtVyr1jg@mail.gmail.com>

On Thursday, July 20, 2023, Anthony Apollis <[email protected]>
wrote:
>
>
> I am trying to convert this TSQL:
>

This doesn’t really seem relevant all that relevant at this point.  Given
some input data either the query produces the expected result or it doesn’t.


>
> What am i doing wrong? Please assist?
>


You need to provide more info - specifically the input data mentioned
above.  Try making a reproducer on this fiddle site.

 https://dbfiddle.uk/btGcOH30

David J.


view thread (8+ messages)  latest in thread

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]
  Subject: Re: TSQL To Postgres - Unpivot/Union All
  In-Reply-To: <CAKFQuwZi0MzMxNghVk8DBiqACbjp8YNFKF9g44_hK1dBX8BzhA@mail.gmail.com>

* 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