MySQL Forums
Forum List  »  General

Fastest sql query
Posted by: fernando don
Date: March 10, 2016 03:10AM

Which one give the fastest result both are innodb engine

1)select * from first_table FIRST join tbl_user user on FIRST.int_User_Id=user.int_user_ID and FIRST.name='XXX' and FIRST.id=200;

2)select * from first_table FIRST join tbl_user user on FIRST.int_User_Id=user.int_user_ID where FIRST.name='XXX' and FIRST.id=200

And why??

Options: ReplyQuote


Subject
Written By
Posted
Fastest sql query
March 10, 2016 03:10AM
March 10, 2016 10:24AM
March 10, 2016 10:57PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.