I have this query:
SELECT count(member_id) FROM member_favorite_business WHERE business_id=3912 AND member_id=413
When I profile this query with my mysql profile tools, it says that this query is very bad. It said:
JOIN SIZE: 16128 (VERY BAD, VERY SLOW)
CONTAINS FULL TABLE SCANS (BAD)
My question is, how can I improve this?
Any suggestions would be greatly appreciated
Cheers!