I have been using mySQL Quite a bit however, this is the first time I am having to preform a query like the following. it works but I wonder if there is a better way to write it.
SELECT * FROM foo WHERE bar = 10058 or bar = 90234 or bar = 98211 or bar 4002 or bar = 90023
Is there a limit to the number of rows I can pull using this methodology? am I making a mistake? is there a better way?
FYI in this particular case bar will always be unique
Use
IN, like this: