1. 程式人生 > >mysql group by

mysql group by

style images pan sel mysq http src .com try

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