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