Given tables: CUSTOMER (CUST_IO (PK), CUST_LAST,CUST_FIRST, CUST_PHONE, CUST_EMAIL, CUST_ADORESS, CUST_CITY,CUST_ZIP, CUST_STATE) ORDERS (ORDER_NUMBER (PK), CUST_ID (FK), PROD_IO (FK), ORDER_DATE, ORDER_TOTAL) PRODUCT (PROD_IO (PK), PROD_DESCRIPTION, PROD_CATEGORY, PROD_PRICE) Write the relational algebra for the following: 1. Retrieve City and Email for the customer whose name is John Smith. 2. Retrieve Name and Address of all customers who live in Florida. 3. Retrieve Product Description and Price for the products in the Computer category that cost more than $100. 4. Retrieve Product Description and Price for the products in either the Computer or Game category. 5. Retrieve Name and Address of the customers who placed orders on 01- 01-2016. 6. Retrieve Product Description and Price for the products that were purchased on 01- 01-2016. 7. Retrieve Name and Address of all customers who live in Florida, who purchased product "TV". 1 Add file

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
Given tables:
CUSTOMER (CUST_ID (PK). CUST_LAST,CUST_FIRST, CUST_PHONE,
CUST_EMAIL, CUST_ADORESS, CUST_CITY, CUST_ZIP, CUST_STATE)
ORDERS (ORDER_NUMBER (PK), CUST_ID (FK), PROD_ID (FK), ORDER_DATE, ORDER_TOTAL)
PRODUCT (PROD_ID (PK), PROD_DESCRIPTION, PROD_CATEGORY, PROD_PRICE)
Write the relational algebra for the following:
1. Retrieve City and Email for the customer whose name is John Smith.
2. Retrieve Name and Address of all customers who live in Florida.
3. Retrieve Product Description and Price for the products in the Computer category
that cost more than $100.
4. Retrieve Product Description and Price for the products in either the Computer or
Game category.
5. Retrieve Name and Address of the customers who placed orders on 01- 01-2016.
6. Retrieve Product Description and Price for the products that were purchased on 01-
01-2016.
7. Retrieve Name and Address of all customers who live in Florida, who purchased
product "TV".
1 Add file
Transcribed Image Text:Given tables: CUSTOMER (CUST_ID (PK). CUST_LAST,CUST_FIRST, CUST_PHONE, CUST_EMAIL, CUST_ADORESS, CUST_CITY, CUST_ZIP, CUST_STATE) ORDERS (ORDER_NUMBER (PK), CUST_ID (FK), PROD_ID (FK), ORDER_DATE, ORDER_TOTAL) PRODUCT (PROD_ID (PK), PROD_DESCRIPTION, PROD_CATEGORY, PROD_PRICE) Write the relational algebra for the following: 1. Retrieve City and Email for the customer whose name is John Smith. 2. Retrieve Name and Address of all customers who live in Florida. 3. Retrieve Product Description and Price for the products in the Computer category that cost more than $100. 4. Retrieve Product Description and Price for the products in either the Computer or Game category. 5. Retrieve Name and Address of the customers who placed orders on 01- 01-2016. 6. Retrieve Product Description and Price for the products that were purchased on 01- 01-2016. 7. Retrieve Name and Address of all customers who live in Florida, who purchased product "TV". 1 Add file
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY