bonjour

je recherche de l aide sur cette requete.

j ai deux tables:

table1
colis    article    qté 
1    a    1 
1    b    1 
1    c    1 
2    d    1
table2
colis    article    commentaires 
1    a    vv 
1    b    pp 
1    c    mm 
2    d    ll
je fais cette requête:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
SELECT                            
 
table1.colis,                            
table1.article,                            
table1.qté                            
table2.commentaires                            
 
FROM                            
 
table1                            
 
LEFT JOIN table2 on (table1.colis = table2.colis AND table1.article = table 2.article)
et j obtiens:

colis    article    commentaires    qté     
1    a        1    vv 
1    b        1    pp 
1    c        1    mm 
2    d        1    ll 
1    a        1    vv 
1    b        1    pp 
1    c        1    mm 
1    a        1    vv 
1    b        1    pp 
1    c        1    mm
j'aimerais obtenir:

colis    article    commentaires    qté  1    a        1    vv 
1    b        1    pp 
1    c        1    mm 
2    d        1    ll
Pouvez vous m'aider?

Merci