Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.tools -> Re: Simple Query ??
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
![]() |
![]() |