Bonjour,

j'utilise la requête suivante pour parcourir une nomenclature.
SELECT LPAD (To_Char (Level), 3, '0') || '.' || LPAD(' ', 2*Level) || Composant , quantite
FROM Nomenclatures
WHERE COMPOSANT LIKE '%'
CONNECT BY (PRIOR Composant = Compose)
START WITH Compose = '&code_article_complet';
comment faire pour afficher la qté totale en prenant en compte les qté de chaque niveau ?

exemple :
niv 1 - qté niv = 1 - qte besoin = 1
niv 2 - qté niv = 2 - qte besoin = 2
niv 3 - qté niv = 1 - qte besoin = 2 << je veux la quantité du besoin


merci d'avance.