We have a table manager - incoming number:
call_time | manager | aon 10:01 | user1 | 7972207 10:14 | user2 | 8581041 10:20 | user3 | 3642345 11:00 | user1 | 8089142 11:01 | user2 | 7972207 11:13 | user2 | 0297188 11:22 | user1 | 8089142 11:34 | user3 | 3642345 11:50 | user4 | 3642345 You need to get the number of unique calls to managers. But not every manager has unique calls, but unique calls in general. The unique call in this case is each unique aon . The table has a timestamp, so whoever first received the call, we count that. For example, 3642345 has already accepted user3 , therefore it is not necessary to consider it for user4 .
user1 2 user2 2 user3 1 user4 0
aonthat otheraondo not have, or is itaonthat doesn’t repeat with onemanager? - i-one