Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Douglas Wilson — — source: Informix-list mailing list archive (1991-1998)
On Tue, 19 May 1998 20:51:52 GMT, dgwilson@gte.net (Douglas Wilson)
wrote:
>This might work (if your data is as I think it is):
>select *
>from lithology a
>where exists
>(select 1
> from lithology b
> where
> (a.top_depth between b.top_depth and b.bottom_depth or
> a.bottom_depth between b.top_depth and b.bottom_depth)
> and a.lith_type != b.lith_type
and a.official_name=b.official_name
>)>
>Hope that helps,
>Douglas Wilson
Your privacy choices
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.