闲言少叙:直接上代码
SELECT out_id,count(*) AS count, created_at from parana_sku_orders WHERE shop_id=6 GROUP BY out_id HAVING count>1 ORDER BY created_at DESC;
闲言少叙:直接上代码
SELECT out_id,count(*) AS count, created_at from parana_sku_orders WHERE shop_id=6 GROUP BY out_id HAVING count>1 ORDER BY created_at DESC;