How to optimize sql query select id from user where phone=’131′ or phone=’139′
explain select id from user where phone=131 union select id from user where phone=139; try this statement
explain select id from user where phone=131 union select id from user where phone=139; try this statement