Left JOIN faster or Inner Join faster?
问题 So... which one is faster (NULl value is not an issue), and are indexed. SELECT * FROM A JOIN B b ON b.id = a.id JOIN C c ON c.id = b.id WHERE A.id = '12345' Using Left Joins: SELECT * FROM A LEFT JOIN B ON B.id=A.bid LEFT JOIN C ON C.id=B.cid WHERE A.id = '12345' Here is the actual query Here it is.. both return the same result Query (0.2693sec) : EXPLAIN EXTENDED SELECT * FROM friend_events, zcms_users, user_events, EVENTS WHERE friend_events.userid = '13006' AND friend_events.state =0 AND