Re: SQL Oracle Row Query ?

From: Gary Floam <floam_at_home.com>
Date: Fri, 10 Nov 2000 01:38:46 GMT
Message-ID: <3A0B7BE5.50FBDB8_at_home.com>


Something like this should work

Select A.RecordName, A.ReleaseYear, B.ReeaseYear from RecordsTable A,

     RecordsTable B
where A.RecordName = B.RecordName
and A.ReleaseYear < B.ReleaseYear

Hope this helps

Gary

turbulanceuk_at_my-deja.com wrote:
>
> 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 - 02:38:46 CET

Original text of this message