Reference no: EM133743754
Homework: Analyzing the Chinook Database and the Manager Promotion Project
For the questions in this homework, you will use SQLiteStudio to analyze a database. Take screenshots of your SQL code as well as of the results (can be in the same screenshot)
I. Download SQLiteStudio from (sqlitestudio.pl)
II. Download the Chinook database from the SQLite tutorial.
III. Find the structure of the ‘customers' table by double clicking on the table name. Which column is the primary key of the table?
IV. How many unique customers does this music store have?
V. How many states do the customers come from? Is there any missing data?
VI. Now let's examine the available invoices. How many invoices does each customer have?
VII. Which customer (first and last name, please) has spent the most at the music store?
VIII. Return the First name, Last name, address, city, and email for all customers who has no purchases (i.e., no invoices). If there are no such customers, return a table with these columns with blank rows.
IX. What is the most popular genre of music sold at the music store (measured by total number of tracks sold)?
X. We need to promote 1 current employee to Sales manager within the store. Who should it be? Use the data available in the database to develop a way to measure the best candidate for the job and then make a recommendation.
Write out a plan to complete the analysis on the manager promotion. How will you decide this? What measure of success will you use? Use SQL and Python to complete task 1.1 and recommend an employee for promotion. Provide explanation and steps in question X.