I receive a question.
select * form table whereIn(id, array(1,2,3,4))
select * form table where(id=1) or where (id=2) or where (id=3)
which query is faster? and Why. Thanks for reading!
I receive a question.
select * form table whereIn(id, array(1,2,3,4))
select * form table where(id=1) or where (id=2) or where (id=3)
which query is faster? and Why. Thanks for reading!