We ran a campaign on a website, asking people to submit their email address, their city and phone number. The data was collected in a csv format - The file is here... http://dl.dropbox.com/u/628209/exercises/mysql/email_subscribers.txt
First import this csv data into a mysql database. From the database, we need to find the following information by writing a single SQL statement for each;
What all cities did people respond from
How many people responded from each city
Which city were the maximum respondents from?
What all email domains did people respond from ?
Which is the most popular email domain among the respondents ?
https://github.com/damilola-dealdey/SQL-Track/tree/master/Ex5
We ran a campaign on a website, asking people to submit their email address, their city and phone number. The data was collected in a csv format - The file is here... http://dl.dropbox.com/u/628209/exercises/mysql/email_subscribers.txt First import this csv data into a mysql database. From the database, we need to find the following information by writing a single SQL statement for each; What all cities did people respond from How many people responded from each city Which city were the maximum respondents from? What all email domains did people respond from ? Which is the most popular email domain among the respondents ?