Re: create query with date values

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: ourdiaspora <ourdiaspora(at)protonmail(dot)com>
Cc: "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: create query with date values
Date: 2021-12-31 16:24:09
Message-ID: CAKFQuwat+nTdtzYNG9peShburiZBLtUSqrV-eW1B+N8DV-xzzg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Friday, December 31, 2021, ourdiaspora <ourdiaspora(at)protonmail(dot)com>
wrote:

> Recipients,
>
> How to create a query such that when a date value is entered, the date may
> be associated with the result of another query.
>
> The scenario is that a date value is entered (the plan is these dates
> should be a separate table), then a query result is joined with the date
> value.
>
> Please advise the correct terminology for appropriate review of the manual.
>

You have normal queries, functions, and procedures. I suppose a “prepared
query” might also fit the bill. Read up on those and, along with whatever
application-level abstractions you choose to create, have tools for
building queries.

David J.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Martin Mueller 2021-12-31 20:27:59 a very naive question about table names in Postgres
Previous Message Ron 2021-12-31 15:34:36 Re: create query with date values