SELECT
COUNT(*)
FROM retailer_master r,
dlymtd d
WHERE r.retle_no = d.sender_mobile
AND r.fos_no = '"+1234567890+"'
AND d.amount IN ('5.00', '9.00', '11.00', '13.00', '14', '15', '15.05', '16', '17', '18', '21', '22', '23', '26', '31', '34', '35.01', '37', '38', '42', '45', '53', '57', '59', '61', '76', '79', '89', '92', '96', '97', '99', '102', '145', '148', '159', '194', '199', '249', '299', '549')
提供输出需要花费大量时间。
答案 0 :(得分:0)
请尝试在retle_no和sender_mobile上创建索引并检查性能。 希望这会对你有所帮助