Subject | Re: Rroblem with 'group by' |
---|---|
Author | Svein Erling Tysvær |
Post date | 2004-07-16T09:36:24Z |
--- In firebird-support@yahoogroups.com, "uwekeim" wrote:
database? My first thought was that this sounds like buying a new car,
but insisting on using the old tyres. Anyway, your problem doesn't
sound like a dialect problem.
CREATE TABLE PRICES(colA..., colB..., PRICE COMPUTED BY (colA*colB)...
HTH,
Set
> we're switching from Paradox to Firebird. Unfortunately we must useHmm, why would anyone have to stick to dialect 1 when switching
> dialect 1.
database? My first thought was that this sounds like buying a new car,
but insisting on using the old tyres. Anyway, your problem doesn't
sound like a dialect problem.
> Now we have this problem:Add a computed field to your table (or create a VIEW).
>
> --->
>
> SELECT SOMETHING, colA*colB as PRICE
> FROM PRICES
> GROUP BY SOMETHING, colA*colB as PRICE
>
> <---
>
> does not work. I've tried several variations, but didn't find a
> solution.
>
> Is there any way to solve this problem?
CREATE TABLE PRICES(colA..., colB..., PRICE COMPUTED BY (colA*colB)...
HTH,
Set