6 psql note -c"SELECT string_agg(DISTINCT t.description, ','), c.nom, c.prenom, c.pseudo, SUM(t.quantite) AS qte FROM transactions AS t, comptes AS c WHERE description ILIKE '$1' AND c.idbde=t.emetteur AND valide GROUP BY c.nom, c.prenom, c.pseudo ORDER BY qte DESC;"