Subject | Re: [firebird-support] LEFT JOIN problem |
---|---|
Author | Miroslav Penchev |
Post date | 2005-06-20T16:10:22Z |
On Mon, 20 Jun 2005 18:44:08 +0300, Sudheer Palaparambil
<sudheer.clt@...> wrote:
'OR SL.entry_date IS NULL'
to your WHERE clause.
Cheers,
--
Miroslav Penchev
<sudheer.clt@...> wrote:
> SELECT ST.sale_type_nm, MIN( SL.bill_no ), MAX( SL.bill_no )You must add
> FROM sale_type ST LEFT JOIN sale SL ON ( ST.company_id =
> SL.company_id )
> AND ( ST.id = SL.s_type )
> WHERE ( SL.entry_date BETWEEN '2.5.05' AND '2.5.05' )
'OR SL.entry_date IS NULL'
to your WHERE clause.
Cheers,
--
Miroslav Penchev