Write SQL for call metrics | Meta Interview Question