SELECT DISTINCT cust_order_id FROM order_item_his WHERE create_date < '2023-05-01';

SQL查询订单号:获取2023-04-30之前创建的订单