1
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
-- 预览:待回填 goods_info 的订单号(goods_info_id 为空)
|
||||
SELECT DISTINCT order_id
|
||||
SELECT order_id
|
||||
FROM order_rows
|
||||
WHERE goods_info_id IS NULL
|
||||
AND order_id IS NOT NULL
|
||||
ORDER BY order_time DESC
|
||||
GROUP BY order_id
|
||||
ORDER BY MAX(order_time) DESC
|
||||
LIMIT 100;
|
||||
|
||||
Reference in New Issue
Block a user