Question: Question. Given the structure of inventory database, answer the following: (9*0.5 + 2*0.25 = 5 points) Salesman SALLEMAND NUMERIC (5) VARCHAR(30) WAR (15 DECIMALES CITY

 Question. Given the structure of inventory database, answer the following: (9*0.5

Question. Given the structure of inventory database, answer the following: (9*0.5 + 2*0.25 = 5 points) Salesman SALLEMAND NUMERIC (5) VARCHAR(30) WAR (15 DECIMALES CITY customer CUSTOMER O NUMERIC (5) CUSTNANE VARCHAR(30) CITY VARCHAR(15 () NUMERIC"> SALESMAN ONLARIC (5) COMMISSION orders ORD NO NURRIC (5) PURCHANT DECIMALI ORD DATE DATE CUSTOMERO MERC(5) SALESMANNERCS) 1. Write a SQL statement to create the table orders. 2. Write a SQL statement to display the name of customers and the name of salesmen they dealt with. 3. Write a query which will retrieve all the cities of all customers, without duplicates. 4- Write a SQL statement to display ID and names of customers, who belongs to the city of "Rome

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!