Extracted sql for 90days to private method.