Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Create a query that will show the name of each customer and their phone number f

ID: 3733091 • Letter: C

Question

Create a query that will show the name of each customer and their phone number for all customers who live in Clinton Township. Make sure the first and last name of the customer appears as one column. Additionally make sure your query accommodates for the multiple spellings of Clinton Township.

My output looked like the following:

Customer Name phone

------------------------------- ------------

Theodore Turner 586-555-9876

Patricia Jones 586-555-9876

Paul Jones 586-555-9876

Simon Tara NULL

Tara Roswell NULL

Haylee Higgins NULL

Explanation / Answer

Select CONCAT (First Name, ' ', Last Name) as Customer Name, phone

From Customer

Where city = 'Clinton Township' or city = 'clinton Township' or city = 'Clinton township';

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote