SELECT *, SD_Serie_Ligne.idGammeArticle, SD_Serie_Ligne.ordre FROM vGRN_ARTICLE_GRN_ARTICLE_NON_STOCK a INNER JOIN SD_GammeArticle s ON a.arcod = s.RefArticle INNER JOIN SD_Serie_Ligne ON s.id = SD_Serie_Ligne.idGammeArticle where a.arutil='Non' and arcod=refarticle and s.societe='GROSSERON' and a.societe='GROSSERON' and gammeID=23340 AND s.id in( 5960396,5960381,5960378,5960379,5960380) AND exists (select * from SD_Serie where id = SD_Serie_Ligne.idSerie) ORDER BY SD_Serie_Ligne.Ordre