From: | "A(dot) Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Help me with this tricky join |
Date: | 2010-03-21 07:46:00 |
Message-ID: | 20100321074600.GB23565@a-kretschmer.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
In response to Jay :
> Thanks!
> But, since the master can contain many users (user2, user3, and so on)
> I suppose this won't be a proper solution?
> Sorry if I was a bit unclear in my description.
>
> I.e., the master is of the form:
>
> user_id date
> User1 20010101
> User1 20000101
> User1 19990101
> User1 19970101
> User2 ...
> ...
That's not the problem ...
>
> Btw, I'm using Postgre version 8.2 and I cannot use subqueries do the
but this.
lag() over () and similar windowing functions new since 8.4.
Andreas
--
Andreas Kretschmer
Kontakt: Heynitz: 035242/47150, D1: 0160/7141639 (mehr: -> Header)
GnuPG: 0x31720C99, 1006 CCB4 A326 1D42 6431 2EB0 389D 1DC2 3172 0C99
From | Date | Subject | |
---|---|---|---|
Next Message | AI Rumman | 2010-03-21 10:47:56 | Re: like operation in tsearch |
Previous Message | A. Kretschmer | 2010-03-21 07:42:44 | Re: How to dump JUST procedures/funnctions? |