Question: 1. Write an SQL query to list customer first name, last name, customer code for customers who purchased any kind of saw. (hint: p_descript like

1. Write an SQL query to list customer first name, last name, customer code for customers who purchased any kind of saw. (hint: p_descript like *saw*). You need to join the Customer, Product, Vendor, and Invoice tables for this query.

2. Write an SQL query to list customer first name, last name, and the total value of the products that have been purchased by the customer. But the result should be shown in two columns: one column is Name (which is the combination of first name and last name, separated by space or comma), the other column is TotalValue. Only show customers who have purchased more than $100.1. Write an SQL query to list customer first name, last name,customer code for customers who purchased any kind of saw. (hint: p_descriptlike *saw*). You need to join the Customer, Product, Vendor, and Invoicetables for this query. 2. Write an SQL query to list customer

CUSTOMER PRODUCT VENDOR INVOICE CUSTOMER PRODUCT VENDOR 1 INVOICE CUSTOMER PRODUCT VENDEOR VI INVOICE CUSTOMER PRODUCT VENDOR INVOICE

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!