pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ashish Karalkar <ashish.karalkar@info-spectrum.com>
To: pgsql-sql@postgresql.org
Subject: Birth Day Calculation
Date: Wed, 18 Jul 2007 16:32:50 +0530
Message-ID: <01d801c7c92b$317e83a0$170211ac@LIONKING.COM> (raw)

Hello All,

I want to diplay all the name of persons who falls in between given day and month
something like

select name from my_table mt where  mt.date_of_birth between 7-Jul and 15 - Aug


column date_of_birth is of date type


is there any way to do this 

Thanks in advance
Ashish...

view thread (2+ messages)  latest in thread

Message-ID: <01d801c7c92b$317e83a0$170211ac@LIONKING.COM>
Permalink:  ../01d801c7c92b$317e83a0$170211ac@LIONKING.COM/
Also on:    postgresql.org/message-id/01d801c7c92b$317e83a0$170211ac@LIONKING.COM

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: ashish.karalkar@info-spectrum.com
  Subject: Re: Birth Day Calculation
  In-Reply-To: <01d801c7c92b$317e83a0$170211ac@LIONKING.COM>

* 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