Subject | Re: [firebird-support] Substraction of 2 selections |
---|---|
Author | Nick Upson |
Post date | 2004-04-30T17:37:17Z |
In article <40928C26.1000309@...>, Rpoulin wrote:
--
Nick
-----We Solve your Computer Problems---
Founder & Listowner of the Prolifics User Group
Panther, Ingres, UNIX, Interbase, Firebird - Available Shortly
> select d1.PRIX_MARGE_DETAIL - d2.PRIX_MARGE_DETAILyou need an INTO clause
> from DETAIL_KIT d1
> left join DETAIL_KIT d2 on d1.no_ordre = d2.no_ordre
> where d2.PRINCIPAL ='N'
> and d1.PRINCIPAL ='O'
> order by d1.NO_ORDRE;
--
Nick
-----We Solve your Computer Problems---
Founder & Listowner of the Prolifics User Group
Panther, Ingres, UNIX, Interbase, Firebird - Available Shortly