Write SQL for content-view analytics | Newyorktimes Interview Question