create view V as
    select * from panier where idUsers = 1;

select SUM( quantite * ( 
    select prix
    from articles A
    where A.idArticle = V.idArticle )
    ) as TOTAL
from V