Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask English Expert

1.        (TCO 2) Refer to the tblCustomer table below. As a data analyst, you have been requested to select rows that meet the following requirements: For each city, list the city name in all upper case characters along with the exchange part of the customer phone number (the first 3 digits). Include only preferred customers in the list. Order the rows in alphabetical order of city. Be sure to give the calculated columns an alias.

tblCustomer:

*Overdue Status indicates customers with a balance that is 30 or more days overdue

Part 1: Write the complete SQL statement needed to return the rows that meet these requirements.

Part 2: What rows will be returned from this query? List the customer ID only of the rows to be returned.

Part 3: What function did you use to extract the three-digit exchange? Why did you select this function? Rewrite the SQL using a different function to extract these characters. (Points : 25)

2.  Refer to the tblCustomer table below. As a data analyst, you have been requested to select rows that meet the following requirements. For each city, list the name of the city, and the number of customers in that city. Include only those cities that have more than 1 customer in them. Order the data by city in descending order.

tblCustomer:*Overdue Status indicates customers with a balance that is 30 or more days overdue

Part 1: Build your SELECT statement by choosing the certain clauses from the list below and putting the clauses in the correct order:
SELECT City, Count(*)
ORDER BY 2
WHERE Count(*) > 1
SELECT Region, Count(*)
GROUP BY City
FROM tblCustomer
ORDER BY Count(*)
HAVING Count(*) > 1
GROUP BY Region
ORDER BY 2 DESC

Part 2: Did you select any filter clause(s)? (WHERE, HAVING) Justify your choice of filter(s)

English, Academics

  • Category:- English
  • Reference No.:- M9114247
  • Price:- $40

Priced at Now at $40, Verified Solution

Have any Question?


Related Questions in English

Poor persuasion or sales letterplease respond to one of the

Poor Persuasion or Sales Letter Please respond to ONE of the following: Question A 75-150 words Describe a time when someone tried to persuade you to change a belief, buy a product or take a specific action, in which he/ ...

Write a literary essay on disgrace by j m coetzee novel

Write a literary essay on Disgrace by J. M. Coetzee Novel: Disgrace by J. M. Coetzee Be aware that you will be writing about a novel, which in its broadest sense is any extended fictional narrative almost always in prose ...

Question blog post should be about three influential

Question: Blog post should be about three influential people. 1. The first person should be someone who has impacted you individually. The will likely be someone you know well. 2. The second person should be someone who ...

Assignment 1 field experience b application of

Assignment 1: Field Experience B: Application of Content Details: At least 3 hours of field experience should be used to complete Clinical Field Experience B. Complete two or more field experiences from the Focused Field ...

Question as we form our arguments the responsibility for

Question: As we form our arguments, the responsibility for the veracity and integrity of our arguments is in our hands. Since the very core of the support for our arguments comes from our sources, a high degree of awaren ...

Question what you think is significance of the title of

Question : What you think is significance of the title of this play: This Random World? In your answer, please give an example from the script itself; and then imagine, postulate, and suggest how another specific "random ...

Question describe a problem related to communication

Question : Describe a problem related to communication behavior and how it could be solve in the filed of study. (Child who slowing developing their speech compared to other toddlers) College essay 200-250 words. Solving ...

Assignment compare and contrast bookscompare and

Assignment: Compare and Contrast (Books) Compare and Contrast: Look up all of the books from the list below and write a 2 sentence description about each one. Why do you think each book has been important throughout hist ...

Jesuss teachingubbl230 lukeactsread luke 612-856 as you

Jesus's Teaching UBBL230 Luke/Acts Read Luke 6:12-8:56. As you read through the passages, prepare responses to the following questions: a) Identify 3-5 elements of this material that you find especially striking, surpris ...

As we have learned using literature in the classroom is a

As we have learned, using literature in the classroom is a powerful tool for helping to meet your students' developmental needs. You will build upon the lesson you created in Week Two of this course and develop into a we ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As