st: How to drop some Observation in Stata, if they are out of range?

Hi, there
I want to drop some Observations in Stata, who are out of a certain range.
For example: I have 2 variables, the first one is an identnumber and
the second one are the earnings.
Now I want Stata to drop all the Observation who are under a minimum
earning and all who are over a maximum earning and save this under a
new variable.
In the moment i can't figure it out by myself.
Hopefully someone can help me.
Boris
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/