Re: How to write a crosstab which returns empty row results - Mailing list pgsql-general

From Brad White
Subject Re: How to write a crosstab which returns empty row results
Date
Msg-id b53b3b28-21c5-fd2b-bc9a-d4156c46ccb6@gmail.com
Whole thread Raw
In response to How to write a crosstab which returns empty row results  (David Goldsmith <d.l.goldsmith@gmail.com>)
Responses Re: How to write a crosstab which returns empty row results
List pgsql-general
On 12/24/2022 9:03 PM, David Goldsmith wrote:
> How do I force "empty rows" to be included in my query output? (I've 
> tried LEFT JOINing to the row header results, and using CASE 
> statements; but due to my unfamiliarity w/ using crosstab, I'm not 
> sure if I've used those correctly in the current context;
>
Can you give us a head start by showing the query you have now that is 
not working.

Extra points if you give simple create/populate statements that 
demonstrate the problem.

Hope that helps,
Brad.




pgsql-general by date:

Previous
From: David Goldsmith
Date:
Subject: How to write a crosstab which returns empty row results
Next
From: David Goldsmith
Date:
Subject: Re: How to write a crosstab which returns empty row results