Question: 16 Did any customer break their mobile plan before the mobile plan duration ends? Assume the plan duration is in months. Justify your answer with



16 Did any customer break their mobile plan before the mobile plan duration ends? Assume the plan duration is in months. Justify your answer with an SQL query by producing a list of customers who cancelled the plan before the duration expires.
17
i. Create a view showing the popularity of phone colours based on the total number of active users.
ii. Use this view to show the least popular colour
18 Write a query to fetch the data about the first call, including the customer details, the phone number the call was made and the total number of towers used for the connection. The expected output of the query is shown below.

Assessment 2 Data Implementation - Case Study The following case study models a mobile phone company. The company has a number of phones that are sold by staff to various clients. Each phone comes with a plan and each plan has a number of features specific to that plan including: - a call charge in cents per minute (this does not apply to all plans) - a plan duration in months - a break fee if the customer leaves the plan before the end of the plan duration - a monthly data allowance in gigabytes Assumptions that are made for the assignment are: - mobile phones are locked to a plan for the length of the plan duration Entity-Relationship Diagram Relational Model \begin{tabular}{|r|l|r|r|r|} \hline customerld & given & phoneNumber & calldate & totTowersUsed \\ \hline 21862 & GLEN & 413621268 & 20160924 & 3 \\ \hline \end{tabular} Assessment 2 Data Implementation - Case Study The following case study models a mobile phone company. The company has a number of phones that are sold by staff to various clients. Each phone comes with a plan and each plan has a number of features specific to that plan including: - a call charge in cents per minute (this does not apply to all plans) - a plan duration in months - a break fee if the customer leaves the plan before the end of the plan duration - a monthly data allowance in gigabytes Assumptions that are made for the assignment are: - mobile phones are locked to a plan for the length of the plan duration Entity-Relationship Diagram Relational Model \begin{tabular}{|r|l|r|r|r|} \hline customerld & given & phoneNumber & calldate & totTowersUsed \\ \hline 21862 & GLEN & 413621268 & 20160924 & 3 \\ \hline \end{tabular}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
