Question: Write a query to list the customers (by number and name) with the string mini in their name, and indicate whether or not each customer

Write a query to list the customers (by number and name) with the string “mini” in their name, and indicate whether or not each customer is located in the same country as their sales rep’s office country (indicate “rep in same country” or “rep in a different country”).

Payments check Number paymentDate amount customerNumber Customers customerNumber customerName contactLastName contactFirstName phone 


Payments check Number paymentDate amount customerNumber Customers customerNumber customerName contactLastName contactFirstName phone addressLine1 addressLine2 city state postalCode country sales RepEmployeeNumber creditLimit > customerLocation Orders orderNumber orderDate requiredDate shipped Date status comments customerNumber HI Offices officeCode city phone addressLine1 addressLine2 state country postalCode territory officeLocation Employees employeeNumber lastName firstName extension email reports To job Title officeCode Order Details orderNumber productCode quantity Ordered priceEach >orderLineNumber ProductLines productLine > textDescription H Products productCode productName productScale productVendor productDescription quantity InStock buy Price MSRP productLine

Step by Step Solution

3.46 Rating (162 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Answer Dear Student As per requirement submitted above kindly find below solution Question 1 S... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Accounting Questions!