Subject | Re: Newbie question IB about select |
---|---|
Author | arnorog |
Post date | 2002-08-29T07:26Z |
Helen,
Thanks for the reply,
I fact, the column names are in Dutch (Boekjaar (year), periode
(month) and verkoop (sales)), so no problems there.
It also has nothing to do with the fact that IB does not accept
column names, it has to do with the fact that it is giving me some
trouble when using aggregate and non-aggregate columns together.
Kind regards,
Arno Rog
Thanks for the reply,
I fact, the column names are in Dutch (Boekjaar (year), periode
(month) and verkoop (sales)), so no problems there.
It also has nothing to do with the fact that IB does not accept
column names, it has to do with the fact that it is giving me some
trouble when using aggregate and non-aggregate columns together.
Kind regards,
Arno Rog
>must be
> If you have columns named Year and Month in IB 6 or Firebird, they
> quoted identifiers, or you would not have been allowed to createso, this
> them. Year and Month are reserved words. Are they columns? If
> should work:tool that
>
> select "Year", "Month", SUM(Sales) from sales group by "Month";
>
> (Sales would need quotes too if you created the database with a
> forces quoted identifiers...)
>
> heLen