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.
Answer all 3 queries
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started