Ein Subselect erlaubt auch Aggregate, vielleicht hilfts ja:
from (select a, b, min(c) from myfile where ... group by a, b) x