Date Difference Using Sql Join Diagram