首页 > 代码库 > mysql group by

mysql group by

w

 

SELECT
    COUNT(*)
FROM
    (
        SELECT
            COUNT(*)
        FROM
            listing_vary_asins
        GROUP BY
            asin,
            countrycode
    ) AS w;


SELECT
    COUNT(*)
FROM
    listing_vary_asins
GROUP BY
    asin,
    countrycode;

 

技术分享

 

技术分享

 

mysql group by