Subject | Re: [firebird-support] Re: Count over multiple tables |
---|---|
Author | Ann W. Harrison |
Post date | 2004-12-01T15:43:12Z |
At 04:14 AM 12/1/2004, Ian A. Newby wrote:
Regards,
Ann
>in Firebird 2 I believe you can use derived tables...That will, I think, give you the value 2 in all cases.
>
>select count(*) from (select 1 from tbl1 union select 1 from tbl2);
Regards,
Ann