Tumblr Interview Question

Nothing too difficult. Some basic sql