Subject Re: [ib-support] Please help. View is empty, but the same SELECT works!
Author Andrew Guts
Why SUM() is not a singleton? Do not pay attention on subselects. This
simplified version have the same problem with view:

select d.DepID,
cast(d.Bank||' '||d.AccountNo as varchar(64)) as Descr
from DepRights r
inner join departments d on r.DepID = d.DepID
_________________
12 rows

create view vDeps1 (DepID, Descr) as
select d.DepID,
cast(d.Bank||' '||d.AccountNo as varchar(64)) as Descr
from DepRights r
inner join departments d on r.DepID = d.DepID;

select * from vDeps1
________________
0 rows




Alan McDonald wrote:

>TotalIn and TotalOut are not singleton result sets are they...?
>That troubles me
>
>