Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

image text in transcribed

image text in transcribed

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.

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Advances In Spatial Databases 2nd Symposium Ssd 91 Zurich Switzerland August 1991 Proceedings Lncs 525

Authors: Oliver Gunther ,Hans-Jorg Schek

1st Edition

3540544143, 978-3540544142

More Books

Students also viewed these Databases questions

Question

3. You can gain power by making others feel important.

Answered: 1 week ago

Question

Write down the circumstances in which you led.

Answered: 1 week ago