Subject | Re: [IBO] Re:TCDSProvider does not like TIBOQuery |
---|---|
Author | Helen Borrie |
Post date | 2010-08-15T10:01:05Z |
At 09:42 PM 15/08/2010, Hardy , wrote:
group by sls_id
...but it is not true that the field name can be used in all cases.
HB
>Hi Helen, What does group by 1 means in your select statement below ?It means "first field in the grouping list". For this query it could be substituted by
>
>>select sls_id, sum (amount)
>>from SaleRevenue
>>Where region = 'West'
>>group by 1
>>
group by sls_id
...but it is not true that the field name can be used in all cases.
HB