Re: Group by & Distinct
From: Daniel Wyler <dwyler_at_johnbryce.co.il>
Date: 1996/06/02
Message-ID: <31B20303.453F_at_johnbryce.co.il>#1/1
Date: 1996/06/02
Message-ID: <31B20303.453F_at_johnbryce.co.il>#1/1
raj Agarwal wrote:
>
> In a query that has a 'group by' , will a 'distinct' give any different
> result?
>
> As a group by will group all same values into one row, I think the
> distinct will not change the result set.
>
> Is this correct? If not correct would appreciate a sample query and
> data sample where the above is not true.
>
> Thanks,
>
> raj