LIMIT and OFFSET
If you know you'll always be pulling 20 records, and just need to discard the highest and lowest...
MySQL < v4.0: SELECT * FROM table ORDER BY numeric_field_with_highs_and_lows LIMIT 1, 19
MySQL v4.0 or PostgreSQL: SELECT * FROM table ORDER BY numeric_field LIMIT 19 OFFSET 1
That should simply just not select the min and max values of those 20 records.