Date Between Two Dates Sql Query Formatter