You cannot, but you can use BETWEEN
SELECT job FROM mytable WHERE id BETWEEN 10 AND 15
Please note that BETWEEN is inclusive and will contain elements with identifiers 10 and 15.
If you do not want to include, you will have to revert to using the > and < operators.
SELECT job FROM mytable WHERE id > 10 AND id < 15
ESG May 14, '12 at 15:10 2012-05-14 15:10
source share