1
SELECT * , COUNT(  `ftm_content_type` ) AS count,
       max(tot.totcount) as totcount
FROM ftm_points join
     (select count(*) as totcount from ftm_points) tot
GROUP BY ftm_content_type 

私はあなたの助けだけで私の問題を解決します

FTM_CONTENT_TYPE = 4 3 2 1
COUNT            = 3 2 3 2   =  TOTAL OF COUNT = 10(I need this result) 
4

1 に答える 1