In the following exercises, you will use the data in the TAL Distributors database shown in Figure

Question:

In the following exercises, you will use the data in the TAL Distributors database shown in Figure 2-1. In each step, indicate how to use relational algebra to obtain the desired results.
1. List the number and name of all reps.
2. List all information from the Item table for item FH24.
3. List the order number, order date, customer number, and customer name for each order.
4. List the order number, order date, customer number, and customer name for each order placed by any customer represented by the rep whose last name is Campos.
5. List the number and date of all orders that were placed on 10/15/2015 or that were placed by a customer whose rep number is 30.
6. List the number and date of all orders that were placed on 10/15/2015 by a customer whose rep number is 45.
7. List the number and date of all orders that were placed on 10/15/2015 but not by a customer whose rep number is 45.


Figure 2-1

Rep RepNum LastName FirstName Street Rafael Megan Hu Janet State PostalCode Commission Rate City 724 Vinca Dr. 632 Liatr

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Concepts of Database Management

ISBN: 978-1285427102

8th edition

Authors: Philip J. Pratt, Mary Z. Last

Question Posted: