Ajout des tp
This commit is contained in:
@@ -12,3 +12,4 @@ BEGIN
|
||||
SELECT p.prix_unitaire*lc.p_quantite into v_prix_total FROM Produit p, Ligne_commande lc WHERE p.id=p_produit_id
|
||||
INSERT INTO Ligne_commande values (seq_t.NEXT, p_commande_id,
|
||||
p_produit_id, p_quantite,v_prix_total)
|
||||
END;
|
||||
|
||||
Reference in New Issue
Block a user