SELECT
temp2.id,
temp2.bundle_id,
COUNT( id ) AS bundleSize,
temp2.create_date
FROM
( SELECT * FROM `stone_goods_bundle` ORDER BY create_date limit 10000 ) AS temp2
GROUP BY
bundle_id
HAVING
bundleSize >1
ORDER BY create_date
SELECT
temp2.id,
temp2.bundle_id,
COUNT( id ) AS bundleSize,
temp2.create_date
FROM
( SELECT * FROM `stone_goods_bundle` ORDER BY create_date limit 10000 ) AS temp2
GROUP BY
bundle_id
HAVING
bundleSize >1
ORDER BY create_date