Re: How to optimize SELECT query with multiple CASE statements?

From: Alexander Farber <alexander(dot)farber(at)gmail(dot)com>
To:
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: How to optimize SELECT query with multiple CASE statements?
Date: 2016-10-31 17:15:26
Message-ID: CAADeyWjDeeDij2K0fWGsJBu2_eFbUjA3W93-UbzrEZBkf59SzA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Ah, thanks - I've got that with JOINing via CASE now...

On Mon, Oct 31, 2016 at 5:50 PM, Geoff Winkless <pgsqladmin(at)geoff(dot)dj> wrote:

> especially since (as I said in the last paragraph of my email), you
> can remove all of the CASEs except the hand/score ones by just JOINing
> the other tables via a CASE anyway.
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Daniel Verite 2016-10-31 17:50:49 Re: initdb createuser commands
Previous Message Kiran 2016-10-31 17:02:15 Re: Rows are repeating by the trigger function