Segregrated Interval + Sql Specification + Repository aware of Sql