From 88737b6d6659ade1fe96a957b052917545ec9a01 Mon Sep 17 00:00:00 2001 From: Aurorayc666 <47970469+Aurorayc666@users.noreply.github.com> Date: Fri, 27 Sep 2019 20:31:53 -0400 Subject: [PATCH] Update troll_tweets_analysis.txt --- troll_tweets/troll_tweets_analysis.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/troll_tweets/troll_tweets_analysis.txt b/troll_tweets/troll_tweets_analysis.txt index 190313b..4cc8ff5 100644 --- a/troll_tweets/troll_tweets_analysis.txt +++ b/troll_tweets/troll_tweets_analysis.txt @@ -13,14 +13,14 @@ select count(*) from troll_tweets where language = 'English'; select count(*) from troll_tweets_partitioned where language = 'English'; -- number of tweets in French -select count(*) from troll_tweets where language = 'French'; +select count(*) from troll_tweets_partitioned where language = 'French'; -- average number of followers for each language -select language, avg(followers) from troll_tweets group by language; +select language, avg(followers) from troll_tweets_partitioned group by language; -- top 10 authors with the most tweets -select author, count(*) from troll_tweets group by author order by count(*) desc limit 10; +select author, count(*) from troll_tweets_partitioned group by author order by count(*) desc limit 10; -- top 10 authors with the most followers (max followers for any tweet by that author) -select author, max(followers) from troll_tweets group by author order by max(followers) desc limit 10; +select author, max(followers) from troll_tweets_partitioned group by author order by max(followers) desc limit 10;