| From: | Frank Bax <fbax(at)sympatico(dot)ca> |
|---|---|
| To: | novice <user(dot)postgresql(at)gmail(dot)com> |
| Cc: | "Rodrigo E(dot) De León Plicet" <rdeleonp(at)gmail(dot)com>, Adam Rich <adam(dot)r(at)sbcglobal(dot)net>, pgsql-general(at)postgresql(dot)org, pgsql-sql(at)postgresql(dot)org |
| Subject: | Re: [SQL] date range query help |
| Date: | 2008-11-20 13:22:25 |
| Message-ID: | 49256491.8070605@sympatico.ca |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general pgsql-novice pgsql-sql |
novice wrote:
> 2008/11/20 Rodrigo E. De León Plicet <rdeleonp(at)gmail(dot)com>:
>> On Wed, Nov 19, 2008 at 10:03 PM, novice <user(dot)postgresql(at)gmail(dot)com> wrote:
>>> sorry I get nothing :(
>> Of course not. None of the dates you gave in the example overlap.
>>
>
> But it should still have the 1st entry with the name Ben? Am I
> missing something?
>
Yes, you are missing something. You would only get 1st entry with the
name Ben if the dates in two tables were in the same year.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Alvaro Herrera | 2008-11-20 13:30:18 | Re: Prepared statement already exists |
| Previous Message | Craig Ringer | 2008-11-20 13:05:24 | Re: join with redundant results VS simpler join plus multiple selects |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2008-11-20 16:20:16 | Re: date range query help |
| Previous Message | Sam Mason | 2008-11-20 11:49:16 | Re: date range query help |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2008-11-20 16:20:16 | Re: date range query help |
| Previous Message | Sam Mason | 2008-11-20 11:49:16 | Re: date range query help |