pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: chester c young <chestercyoung@yahoo.com>
To: sql pgsql <pgsql-sql@postgresql.org>
Subject: how to use a date range in a join
Date: Mon, 12 Mar 2007 12:01:45 -0700 (PDT)
Message-ID: <208535.83136.qm@web54314.mail.yahoo.com> (raw)

trying to do something like

select     d.day,
           c.name
from       [dates between day1 and day2] d
left join  c.some_table;

but cannot figure out what to put into the brackets.




 
____________________________________________________________________________________
Finding fabulous fares is fun.  
Let Yahoo! FareChase search your favorite travel sites to find flight and hotel bargains.
http://farechase.yahoo.com/promo-generic-14795097



view thread (2+ messages)  latest in thread

Message-ID: <208535.83136.qm@web54314.mail.yahoo.com>
Permalink:  ../208535.83136.qm@web54314.mail.yahoo.com/
Also on:    postgresql.org/message-id/208535.83136.qm@web54314.mail.yahoo.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: chestercyoung@yahoo.com
  Subject: Re: how to use a date range in a join
  In-Reply-To: <208535.83136.qm@web54314.mail.yahoo.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