Re: Refining query statement
От | Adrian Klaver |
---|---|
Тема | Re: Refining query statement |
Дата | |
Msg-id | 73a9c7db-f756-6ea6-a785-f4614d2aad84@aklaver.com обсуждение исходный текст |
Ответ на | Re: Refining query statement (Rich Shepard <rshepard@appl-ecosys.com>) |
Ответы |
Re: Refining query statement
|
Список | pgsql-general |
On 1/15/19 8:26 AM, Rich Shepard wrote: > On Tue, 15 Jan 2019, Adrian Klaver wrote: > >> For the above I could see using a datepicker widget that allows for >> multidate select. The specifics would depend on the software you are >> using >> to write the UI. > > Adrian, > > I'm using wxPython4, and I will use a calendar with that. But, is > there a > way to enhance the psql version, too? Use BETWEEN?: https://www.postgresql.org/docs/10/functions-comparison.html a BETWEEN x AND y between So: next_contact BETWEEN '01/01/2019'::date AND '01/15/2019'::date Or a range function: https://www.postgresql.org/docs/10/functions-range.html <@ element is contained by > > Thanks, > > Rich > > -- Adrian Klaver adrian.klaver@aklaver.com
В списке pgsql-general по дате отправления: