Compute unique visitors by department | Amazon SQL Question