min and max for the SingleTableDao