Re: Is this stuff really SQL 92 compliant
From: Jim Hill - MVS SQL*Net <jthill_at_upsizeme.us.oracle.com.>
Date: 12 Aug 1994 16:05:43 GMT
Message-ID: <nvl.jthill_at_us.oracle.com>
Date: 12 Aug 1994 16:05:43 GMT
Message-ID: <nvl.jthill_at_us.oracle.com>
In article <327vr4$dgu_at_pong.lasc.lockheed.com> z50816_at_mip.lasc.lockheed.com (Terry Greenlaw) writes:
>Problem 1)
>table T contains:
> C1 C2
> -- --
> 1 2
> 2
>"select max(c1) from t" returns 1.
>"select max(c2) from t" returns 2.
>"select greatest(c1,c2) from t"
> returns 2 for the first record
> but it returns NULL for the second.
>Shouldn't least and greatest have the same functionality on columns that
>min and max do on rows in that you're asking for the greatest or least
>KNOWN value?
Jim Received on Fri Aug 12 1994 - 18:05:43 CEST