Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Write sql queries to create the following tables with the data customer custorder Ltemorder 2. Write sql queries to achieve the following. A. Find

image text in transcribed
image text in transcribed
1. Write sql queries to create the following tables with the data customer custorder Ltemorder 2. Write sql queries to achieve the following. A. Find the customer(s) details who have not made an order. B. Find the customer(s) details who is/are from either Trinidad or Barbados. C. Create a view called Tot_Per_Ord as follows: Tot_Per_Ord(OrderID\#, TOT_COST) containing the total cost of each order. D. Find the name, street, city and country of all companies who have made orders in September 2020. List them in alphabetical order on the company name. E. Find the name of the companies that order item\# i110. F. Find the unit cost per item (assume the cost of each unit does not vary for each order). G. Find the order that has the greatest total cost. H. Find the order where the cost is greater than the average cost, I. Double the quantity of item\# i111 on order \#O012 (assume that the unit cost does not vary). J. Assume that the shipping date of those orders being sent to customers in Barbados were delayed by 5 days. Depict this in the database

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

Structured Search For Big Data From Keywords To Key-objects

Authors: Mikhail Gilula

1st Edition

012804652X, 9780128046524

More Books

Students also viewed these Databases questions

Question

=+ Are unions company-wide, regional, or national?

Answered: 1 week ago

Question

=+j Explain the litigation risks in international labor relations.

Answered: 1 week ago

Question

=+j What rules will apply to the process of negotiations?

Answered: 1 week ago