Someone please help me...
I have 2 queries (in the end I end up joining them with a LEFT JOIN, but they don't
"work" properly)
SELECT *
FROM tbl_v_batch b
LEFT JOIN tbl_v_levering l ON l.ver_lev_id = b.batch_lever_id
LEFT JOIN tbl_klanten k ON k.klant_id = l.ver_lev_klant_id
This one gives ALL
I think they are all indexed, yes.
I have an index on :
bb.ver_id
b.batch_bestel_id
k.klant_id (k1 is the same)
b.batch_lever_id
l.ver_lev_id
Tnx in advance
- Original Message -
From: Dobromir Velev
To: Koen Van Mulders ; [EMAIL PROTECTED]
Sent: Thursday, December 18, 2003 3:14 PM
Subject: Re: Problem with EQ_REF and ALL
Hi,
Have you indexed the fields you're using in the JOIN clauses?
Dobromir Velev
[EMAIL PROTECTED]
- Ori
v
To: Koen Van Mulders ; [EMAIL PROTECTED]
Sent: Thursday, December 18, 2003 3:14 PM
Subject: Re: Problem with EQ_REF and ALL
Hi,
Have you indexed the fields you're using in the JOIN clauses?
Dobromir Velev
[EMAIL PROTECTED]
- Original Message -
From: "Koen Van Mulders&quo