Subject | Re: [firebird-support] Nested Select |
---|---|
Author | Ann W. Harrison |
Post date | 2004-11-04T16:53:02Z |
At 05:59 AM 11/4/2004, jabangarita wrote:
Firebird 2 does, but uses ISO syntax that does not
include square brackets. For earlier versions, turn
the inner select into a view or use a stored procedure.
Regards,
Ann
>How does Firebird/Interbase nested select work in??Firebird 1.5 and earlier don't handle select from select.
>
>
>SELECT t.risk, COUNT(t.name)
>FROM [SELECT t1.name, MAX(t1.risk) as risk
> FROM Table1 AS t1
> GROUP BY t1.name ]. AS t
>GROUP BY t.risk;
Firebird 2 does, but uses ISO syntax that does not
include square brackets. For earlier versions, turn
the inner select into a view or use a stored procedure.
Regards,
Ann