Date Difference Using Sql Join Syntax Using