Subject | Re: [ib-support] Sum() on a subselect? |
---|---|
Author | Arno Brinkman |
Post date | 2003-05-26T11:21:19Z |
Hi SET,
SQL-standard) and then you end up by two brackets ;-)
Regards,
Arno Brinkman
ABVisie
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Firebird links :
http://www.firebirdsql.com
http://www.firebirdsql.info
http://www.fingerbird.de/
http://www.comunidade-firebird.org/
Nederlandse firebird nieuwsgroep :
news://80.126.130.81
> Arno, it is wonderful to see all the additional stuff I will get access toSUM() has brackets and a sub-select must also have brackets (see
> once we switch to Fb 1.5. But why would you need double brackets in the
> statement
>
> At 12:58 26.05.2003 +0200, you wrote:
> > sum((select sum(fc.fifocost*fc.fifoqty) from fifocosts fc where
> >fc.fifobarcode=A.prodbarcode)) as paidcost
>
> Wouldn't
>
> sum(select sum(fc.fifocost*fc.fifoqty) from fifocosts fc where
> fc.fifobarcode=A.prodbarcode) as paidcost
SQL-standard) and then you end up by two brackets ;-)
Regards,
Arno Brinkman
ABVisie
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Firebird links :
http://www.firebirdsql.com
http://www.firebirdsql.info
http://www.fingerbird.de/
http://www.comunidade-firebird.org/
Nederlandse firebird nieuwsgroep :
news://80.126.130.81