pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Antti Linno <alligator@all.ee>
To: pgsql-sql@postgresql.org
Subject: Birthday search.
Date: Thu, 22 Mar 2001 16:50:33 +0200 (EET)
Message-ID: <Pine.LNX.4.04.10103221647520.4786-100000@all.ee> (raw)

I have a table with personal data, including date of birth in date format.
What i need is a select that searches birthdays in certain range.
E.g. I need to find all birthdays starting from 15.april until 20th
december. As you all understand, year doesn't matter :P
Any simple and elegant solutions to it?

Greetings,
	Antti





view thread (2+ messages)  latest in thread

Message-ID: <Pine.LNX.4.04.10103221647520.4786-100000@all.ee>
Permalink:  ../Pine.LNX.4.04.10103221647520.4786-100000@all.ee/
Also on:    postgresql.org/message-id/Pine.LNX.4.04.10103221647520.4786-100000@all.ee

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: alligator@all.ee
  Subject: Re: Birthday search.
  In-Reply-To: <Pine.LNX.4.04.10103221647520.4786-100000@all.ee>
  References: <Pine.LNX.4.04.10103221647520.4786-100000@all.ee>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox