Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Sql 1.) For the diagram above, show the codes for (will use a concat here and we can call it worker) all of the employees

Sql

1.) For the diagram above, show the codes for (will use a concat here and we can call it "worker") all of the employees and the managers. In the concat function, include the employee's name, the managers name, and their job title. (another concat function here and we can call it "bigBoss")

2.) For this one, I am going to need the orders, customers products, and the order details, to show the (concat the first and the last name) contact name, customer names, order date, quantity ordered, order number, buy price, product name, price each, for all sales in the planes products.

3.) Pretty much same as #2 but we will wanting high profit margin sales only for this. This is more than $50 (sale price of each - buy price of the product that is >50).

4.) Pretty much same as #3 but we wlll be creating a column called "Gain" and for the "gain" we use (price each - buy price). This time we will use 80% profit margin. Order from highest to lowest profit.

5.) show city, country, payment date, customer name (and not the contact), and payment amount for all of the customers.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Combinatorial Testing In Cloud Computing

Authors: Wei-Tek Tsai ,Guanqiu Qi

1st Edition

9811044805, 978-9811044809

More Books

Students also viewed these Programming questions

Question

CL I P COL Astro- L(1-cas0) Lsing *A=2 L sin(0/2)

Answered: 1 week ago