Re: Refining query statement

From: Rich Shepard <rshepard(at)appl-ecosys(dot)com>
To: "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Refining query statement
Date: 2019-01-17 18:04:02
Message-ID: alpine.LNX.2.20.1901171001300.18965@salmo.appl-ecosys.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, 17 Jan 2019, David G. Johnston wrote:

> Off the top of my head (and this is a model I am quite familiar with
> even if I'm doing this email at speed):
>
> I'd suggest an actual activity table:

David,

Adrian's suggestion of a Contacts table column called 'active' having a
boolean data type seems to me to be more compact. Testing active = true as a
condition in the WHERE clause will display only those People with active
contact needs.

Thanks very much,

Rich

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2019-01-17 18:16:14 Re: Refining query statement
Previous Message AI Rumman 2019-01-17 18:01:52 Re: Postgres Automated Failover