Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Figure 8 . 1 4 A relational database schema for a LIBRARY database. a . List the Order# and Ship _ date for all orders

Figure 8.14
A relational database
schema for a LIBRARY
database.
a. List the Order# and Ship_date for all orders shipped from Warehouse# W2.
b. List the WAREHOUSE information from which the CUSTOMER
named Jose Lopez was supplied his orders. Produce a listing: Order#,
Warehouse#.
c. Produce a listing Cname, No_of_orders, Avg_order_amt, where the middle
column is the total number of orders by the customer and the last column
is the average order amount for that customer.
d. List the orders that were not shipped within 30 days of ordering.
e. List the Order# for orders that were shipped from all warehouses that the
company has in New York.
8.20. Specify the following queries in relational algebra on the database schema
given in Exercise 5.15:
a. Give the details (all attributes of trip relation) for trips that exceeded
$2,000 in expenses.
TO WRITE THE RELATIONAL ALGEBRA FOR THE RELATIONS
image text in transcribed

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

Intelligent Information And Database Systems 12th Asian Conference ACIIDS 2020 Phuket Thailand March 23 26 2020 Proceedings

Authors: Pawel Sitek ,Marcin Pietranik ,Marek Krotkiewicz ,Chutimet Srinilta

1st Edition

9811533792, 978-9811533792

More Books

Students also viewed these Databases questions

Question

What do items 1118 measure?

Answered: 1 week ago

Question

How is the NDAA used to shape defense policies indirectly?

Answered: 1 week ago