`id`,
`customer_id`,
`source_id`,
`msku`,
`listing_price`,
`discount_price`,
`discount_start`,
`discount_end`,
`company_price`,
`company_price_type`,
`company_price_rule`,
`estimate_fee`,
`recommend_quote_price`,
`recommend_quote_price_shipping`,
`lowest_quote_price`,
`lowest_quote_price_shipping`,
`create_by`,
`create_time`,
`update_by`,
`update_time`,
`is_deleted`,
`merchant_shipping_group`,
`landed_price`,
`shipping_price`,
`points`,
`points_price`,
`regular_price`,
`listing_price_update_time`
FROM
t_amazon_listing_amount_13
WHERE
(
customer_id = 1
AND update_time >= date_add( REPLACE ( '2024-06-30 23:45:00', '%', ' ' ), INTERVAL - 8 HOUR ));

优化建议:
SELECT
`id`,
`customer_id`,
`source_id`,
`msku`,
`listing_price`,
`discount_price`,
`discount_start`,
`discount_end`,
`company_price`,
`company_price_type`,
`company_price_rule`,
`estimate_fee`,
`recommend_quote_price`,
`recommend_quote_price_shipping`,
`lowest_quote_price`,
`lowest_quote_price_shipping`,
`create_by`,
`create_time`,
`update_by`,
`update_time`,
`is_deleted`,
`merchant_shipping_group`,
`landed_price`,
`shipping_price`,
`points`,
`points_price`,
`regular_price`,
`listing_price_update_time`
FROM
t_amazon_listing_amount_13
WHERE
(
update_time >= date_add( REPLACE ( '2024-06-30 23:45:00', '%', ' ' ), INTERVAL - 8 HOUR )) limit 1000;
分页,去掉customer_id = 1
是dataX的SQL