Subject | Re: Query returning row when it shouldn't... |
---|---|
Author | phil_sorry_trouble_with_profile |
Post date | 2004-05-31T11:40:18Z |
--- In Firebird-Java@yahoogroups.com, "burghard_w_v_britzke"
<bubi@c...> wrote:
result).... but is this correct when there are zero rows to start
with? Shouldn't this be reflected by the agregate function returning
zero rows? :-)
<bubi@c...> wrote:
> two things/thinks about it;aggregate =
> with "select max(colname) from table" you query the result of an
> function. sotable"=
> you get exact one! row and that you should expect!
> But, Stefan does firebird accept "select max(colname) AS rsname from
> (with ASThat's a good point (that you should get one and exactly one
> keyword)?
result).... but is this correct when there are zero rows to start
with? Shouldn't this be reflected by the agregate function returning
zero rows? :-)