I'm looking to build a select statement that checks if a number is in a specific set. For instance:
4000,5000,5500-5560,7244
Is it possible to build this into a mysql query, or do I have to manually build the query:
Select * from table where x=4000 or x=5000 or x between 5500 and 5560 or x=7244
Thanks.