Question: Please Write these 2 queries by using My SQL workbench Query3. Write a query to list out the product name and the percentage discount on
Please Write these 2 queries by using My SQL workbench
Query3. Write a query to list out the product name and the percentage discount on each product. Provide the result with a % sign and order the results in the desc order of the discount.
Query4. Write a query to count the number of orders whose status is shipped for customers from France whose credit limit is greater than 100000.
relationship diagram below:

Payments checkNumber paymentDate amount customerNumber Offices officeCode city phone addressLine1 addressLine2 state country postalCode territory officeLocation Customers customerNumber customerName contactLastName contactFirstName phone addressLine1 addressLine2 city state postalCode country sales RepEmployee Number creditLimit customerLocation Employees employeeNumber lastName firstName extension email reports to job Title officeCode Product Lines productLine textDescription Orders order Number order Date required Date shipped Date status comments customerNumber + Order Details order Number productCode quantityOrdered priceEach orderLine Number Products productCode productName productScale productVendor productDescription quantity InStock buy Price MSRP productLine
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
