0
可否请您优化下面的mysql查询。mysql query optimizaiton
SELECT COUNT(DISTINCT a.cust_id) as total FROM all_ids AS a LEFT JOIN id_details AS b ON a.cust_id = b.cust_id, users p WHERE (a.status = 'A' or a.status = 'I') and b.cust_id IS NOT NULL and a.type = 'abc' AND a.user_id = p.id AND p.team = 'customers';
请提出问题。 – YXD 2012-02-27 10:55:08
呃,你的问题是什么?你想优化什么? – jlemos 2012-02-27 10:55:53
你的问题是什么? – 2012-02-27 10:55:56