Date Difference Using Sql Aggregate Functions List