Let say I have a dataset

Code:
SIC3        Freq.    Percent        Cum.
                        
    100        5    0.00        0.00
    101        278    0.11        0.11
    102        515    0.20        0.30
    103        444    0.17        0.47
    104        938    0.36        0.83
    106        6    0.00        0.83
    108        189    0.07        0.90
    109        547    0.21        1.11
I want to run a normal OLS regress

Code:
reg y x
I am wondering what I should add to run the regression if frequency of SIC3 is higher than 10. For example above, I will not run with SIC3=100 and 106

Thanks in advance.