5. List the name and phone number of the customer with area code of '678'.

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

Just answer question 5. I included the table for it

ESelect
from Customer:
100 %
H Results a Messages
CustID
LastName
FirstName
Street
City
State
ZipCode HomePhone
1
1
Gordon
Shert
336 HIl St.
Littleton
CO
80129
123-456-7866
2
10
Boren
642 Crest Ave.
Englewood CC
80113
235-432-5693
3
11
Styles
Lany
9825 S. Crest Lane
Belevue
WA
98104
495-738-9984
4
12
Johnson
Sharon
1223 Meyer Way
Fife
WA
98222
343-959-9473
13
Hayes
Todd
1400 NW 8th
Lynnwood
WA
98036
423-333-3345
6
14
Wels
Homer
123 Main S.
Seattle
WA
98105
623-474-7343
7
15
Hll
Mary
206 McCaffrey
Littleton
Co
80129
647-757-3734
Query executed successfully.
Transcribed Image Text:ESelect from Customer: 100 % H Results a Messages CustID LastName FirstName Street City State ZipCode HomePhone 1 1 Gordon Shert 336 HIl St. Littleton CO 80129 123-456-7866 2 10 Boren 642 Crest Ave. Englewood CC 80113 235-432-5693 3 11 Styles Lany 9825 S. Crest Lane Belevue WA 98104 495-738-9984 4 12 Johnson Sharon 1223 Meyer Way Fife WA 98222 343-959-9473 13 Hayes Todd 1400 NW 8th Lynnwood WA 98036 423-333-3345 6 14 Wels Homer 123 Main S. Seattle WA 98105 623-474-7343 7 15 Hll Mary 206 McCaffrey Littleton Co 80129 647-757-3734 Query executed successfully.
Assignment 4: SQL for Data Retrieval (Single Table)
Assignment 4 is based on the ABC Database's four tables we have created: CUSTOMER,
ORDERTBL, PRODUCT and ORDERLINE.
1. List the product (ProdID, Category and price) whose color is black and whose price falls
between 200 and 300.
2. List the ID, category and description of the product that has the word 'jet' in its
description.
3. List all customers whose name is 'Wally Jones' and lives in the state of Washington
(WA).
4. List all customers (last name, first name and zip code) whose zip code is missing
(unknown).
5. List the name and phone number of the customer with area code of '678’.
6. We'd like to markdown by 10% the price of the product whose price is greater than or
equal to 300. List the ID, category, price, and mark-downed price. Rename the mark-
downed price as 'SalePrice'.
7. List all color of the product for category B. Remove any duplicates.
8. List the ID, category and size of the product whose size is 1, 2 or 3.
9. List the ID, category, inventory value of the product whose inventory value is greater
than 10,000. Inventory value can be calculated by multiplying price and quantity on hand.
Name the inventory value as Inventory Value.
10. List the ID and date of any orders that were placed in August, 2016.
Transcribed Image Text:Assignment 4: SQL for Data Retrieval (Single Table) Assignment 4 is based on the ABC Database's four tables we have created: CUSTOMER, ORDERTBL, PRODUCT and ORDERLINE. 1. List the product (ProdID, Category and price) whose color is black and whose price falls between 200 and 300. 2. List the ID, category and description of the product that has the word 'jet' in its description. 3. List all customers whose name is 'Wally Jones' and lives in the state of Washington (WA). 4. List all customers (last name, first name and zip code) whose zip code is missing (unknown). 5. List the name and phone number of the customer with area code of '678’. 6. We'd like to markdown by 10% the price of the product whose price is greater than or equal to 300. List the ID, category, price, and mark-downed price. Rename the mark- downed price as 'SalePrice'. 7. List all color of the product for category B. Remove any duplicates. 8. List the ID, category and size of the product whose size is 1, 2 or 3. 9. List the ID, category, inventory value of the product whose inventory value is greater than 10,000. Inventory value can be calculated by multiplying price and quantity on hand. Name the inventory value as Inventory Value. 10. List the ID and date of any orders that were placed in August, 2016.
Expert Solution
steps

Step by step

Solved in 2 steps

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