Compares the amount of posts uploaded via imgur vs those via reddit
SELECT USEC_TO_TIMESTAMP(UTC_USEC_TO_Day(TIMESTAMP_TO_USEC(created_utc))) as utc_day,
SUM(domain CONTAINS 'imgur.com')/COUNT(*) as perc_imgur_submissions,
SUM(domain CONTAINS 'reddituploads.com' OR domain CONTAINS 'i.redd.it')/COUNT(*) as perc_reddit_submissions,
COUNT(*) as num_submissions
FROM [pushshift:rt_reddit.submissions]
WHERE created_utc > '2016-05-22 07:00:00'
AND lower(subreddit) IN ('getmotivated', 'earthporn', 'gaming', 'space', 'oldschoolcool', 'sports', 'art', 'aww', 'dataisbeautiful', 'food', 'funny', 'gifs', 'mildlyinteresting', 'movies', 'photoshopbattles', 'pics')
GROUP BY utc_day
ORDER BY utc_day
Numbers "visualisation":