vous pouvez essayer comme ci-dessous, supprimer distinct
SELECT
THESTATUS,
COUNT(THENAME),
SUM(THECOST)
FROM THETABLE
GROUP BY thestatus
vous pouvez essayer comme ci-dessous, supprimer distinct
SELECT
THESTATUS,
COUNT(THENAME),
SUM(THECOST)
FROM THETABLE
GROUP BY thestatus