Subject | Re: [firebird-support] duplicate string fields? |
---|---|
Author | Woody |
Post date | 2008-02-07T19:29:38Z |
Ann W. Harrison wrote:
Woody (TMW)
> Err, if you group by the primary key, you're seldom going to find aOops, didn't even catch that one. Thanks. :-)
> group with more than one member. Here's an alternative:
>
> select a.noteid, a.folerid, b.noteid, b.folderid, a.subject
> from dbnotes a
> join dbnotes b on (a.subject = b.subject)
> where a.noteid < b.noteid
>
Woody (TMW)