Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 productLineStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started