Write SQL for content view metrics by device | Newyorktimes Interview Question