Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.tools -> Re: Simple Query ??

Re: Simple Query ??

From: Kbat <schmuel_2000_at_yahoo.com>
Date: Fri, 10 Nov 2000 08:02:27 -0700
Message-ID: <8ufp07$34p$1@nnrp2.phx.gblx.net>

I think something like

select recordname, releaseyear
from records
where recordname in (select recordname

                                          from records
                                          where count(*) > 1
                                          group by recordname)

might work

HTH <turbulanceuk_at_my-deja.com> wrote in message news:8uf0ub$d9a$1_at_nnrp1.deja.com...
> I am trying to do some database work and am struggling with this SQL
> query. An answer to this query would help me a lot, and would be much
> appreciated.
>
> I have a table name records with attributes recordName and releaseYear.
> No recordName was ever repeated from year to year, but some records
> came back after a gap of one year. Find those titles.
>
> Hope someone can help,
>
> Yours, Steven
>
>
>
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
Received on Fri Nov 10 2000 - 09:02:27 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US