Usually this type of problem should be solved using a CHECK constraint as follows-
ALTER TABLE Inventory ADD CONSTRAINT chk1 CHECK(NumberInStock BETWEEN 1 AND 100);
This could have been done in ORACLE But MySQL has a BUG reported regarding the implementation of check constraint.
Hence u must implement two triggers i.e. one for INSERT and another for UPDATE on that table.