Subject | Re: [firebird-support] Conditional grouping? |
---|---|
Author | Ann W. Harrison |
Post date | 2005-07-28T18:56:11Z |
Rick Debay wrote:
sound familiar - even from the most ambitious recent SQL standard.
Regards,
Ann
> I need to sum quantities based on these columns (GPI, TEE, UNIT_DOSE),I think you've hit on the best solution. Conditional grouping doesn't
> but also on an additional column (DOSE_SIZE) if one of first set
> (UNIT_DOSE) meets certain criteria.
>
> The only thing I could come up with is to do two queries, union them,
> and then sum that.
sound familiar - even from the most ambitious recent SQL standard.
Regards,
Ann