Students need to Upload all evidence in one pdf document containing Screenshots of each step taken in accordance to the assessment. Table: Salesman salesman_id | name | city | commission...


Students need to Upload all evidence in one pdf document containing Screenshots of each step taken in accordance to the assessment.


Table: Salesman



salesman_id | name | city | commission -------------+------------+----------+------------ 5001 | James Hoog | New York | 0.15 5002 | Nail Knite | Paris | 0.13 5005 | Pit Alex | London | 0.11 5006 | Mc Lyon | Paris | 0.14 5007 | Paul Adam | Rome | 0.13 5003 | Lauson Hen | San Jose | 0.12




Table

: Customer



customer_id | cust_name | city | grade | salesman_id -------------+----------------+------------+-------+------------- 3002 | Nick Rimando | New York | 100 | 5001 3007 | Brad Davis | New York | 200 | 5001 3005 | Graham Zusi | California | 200 | 5002 3008 | Julian Green | London | 300 | 5002 3004 | Fabian Johnson | Paris | 300 | 5006 3009 | Geoff Cameron | Berlin | 100 | 5003 3003 | Jozy Altidor | Moscow | 200 | 5007 3001 | Brad Guzan | London | | 5005


- Create

SQL statement (JOIN)

to display a list with salesman name, customer name and their cities for the salesmen and customer who belongs to the same city. (
Use the JOIN statement
))


- Create a

function

that calculate the total commission


-Create a

store procedure

that displays the names of salesman located in Paris and their commission


students need to Upload all evidence in one pdf document containing Screenshots of each step taken in accordance to the assessment.<br>Table: Salesman<br>salesman_id |<br>city | commission<br>name<br>5e01 | James Hoog | New York |<br>5ee2| Nail Knite | Paris<br>5ee5 Pit Alex<br>see6 | MC Lyon<br>5007 | Paul Adam | Rome<br>5e03 | Lauson Hen | San Jose |<br>0.15<br>0.13<br>| London<br>| Paris<br>0.11<br>0.14<br>0.13<br>0.12<br>Table: Customer<br>

Extracted text: students need to Upload all evidence in one pdf document containing Screenshots of each step taken in accordance to the assessment. Table: Salesman salesman_id | city | commission name 5e01 | James Hoog | New York | 5ee2| Nail Knite | Paris 5ee5 Pit Alex see6 | MC Lyon 5007 | Paul Adam | Rome 5e03 | Lauson Hen | San Jose | 0.15 0.13 | London | Paris 0.11 0.14 0.13 0.12 Table: Customer
customer_id |<br>cust_name<br>city<br>I grade | salesman_id<br>3002 | Nick Rimando<br>3007 | Brad Davis<br>3005 | Graham Zusi<br>3008 | Julian Green<br>3004 | Fabian Johnson | Paris<br>3009 | Geoff Cameron | Berlin<br>3003 | Jozy Altidor<br>3001 | Brad Guzan<br>100 |<br>200|<br>| New York<br>|New York<br>| california |<br>| London<br>5001<br>5001<br>200 |<br>5002<br>300<br>5002<br>300 |<br>5006<br>100 |<br>5003<br>|Moscow<br>| London<br>200<br>5007<br>5005<br>

Extracted text: customer_id | cust_name city I grade | salesman_id 3002 | Nick Rimando 3007 | Brad Davis 3005 | Graham Zusi 3008 | Julian Green 3004 | Fabian Johnson | Paris 3009 | Geoff Cameron | Berlin 3003 | Jozy Altidor 3001 | Brad Guzan 100 | 200| | New York |New York | california | | London 5001 5001 200 | 5002 300 5002 300 | 5006 100 | 5003 |Moscow | London 200 5007 5005
Jun 05, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here