no entre mysql

SELECT *
FROM your_table
WHERE your_number_column
NOT BETWEEN min_value AND max_value
Poised Piranha