-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhw1.sql
13 lines (7 loc) · 942 Bytes
/
hw1.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
/** Question 1: Find the number of emails that mention “Obama” in the ExtractedBodyText of the email. **/
/** Question 2: Among people with Aliases, find the average number of Aliases each person has. **/
/** Question 3: Find the MetadataDateSent on which the most emails were sent and the number of emails that were sent on * that date. Note that that many emails do not have a date -- don’t include those in your count. **/
/** Question 4: Find out how many distinct ids refer to Hillary Clinton. Remember the hint from the homework spec! **/
/** Question 5: Find the number of emails in the database sent by Hillary Clinton. Keep in mind that there are multiple * aliases (from the previous question) that the email could’ve been sent from. **/
/** Question 6: Find the names of the 5 people who emailed Hillary Clinton the most. **/
/** Question 7: Find the names of the 5 people that Hillary Clinton emailed the most. **/