List the invoice number and invoice date for each invoice that contains an invoice line for a Wild Bird Food (25 lb).
List the invoice number and invoice date for each invoice that contains an invoice line for a Wild Bird Food (25 lb).
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...
Related questions
Question
Task 14: List the invoice number and invoice date for each invoice that contains an invoice line for a Wild Bird Food (25 lb).
![INVOICE_NUM
ITEM_ID
QUANTITY
QUOTED_PRICE
14216
CA75
3
37.99
14219
AD72
79.99
14219
DT12
39.99
14222
LD14
1
47.99
14224
KH81
4
18.99
14228
FS42
1
124.99
14228
PF19
1
74.99
14231
UF39
189.99
14233
KH81
1
19.99
14233
QB92
4
109.95
14233
WB49
4
74.95
14237
LP73
3
54.95
INVOICE_LINE table
The ITEM table has a information pertaining to each item for sale by KimTay's Pet Supplies.
This includes a description, the number in stock, location, and price.
ITEM_ID
DESCRIPTION
ON_HAND
CATEGORY
LOCATION
PRICE
AD72
Dog Feeding Station
12
DOG
79.99
ВСЗЗ
Feathers Bird Cage (12x24x18)
10
BRD
79.99
CA75
Enclosed Cat Litter Station
15
CAT
39.99
DT12
Dog Toy Gift Set
27
DOG
39.99
FM23
Fly Mask with Ears
41
HOR
C
24.95
FS39
Folding Saddle Stand
12
HOR
39.99
FS42
Aquarium (55 Gallon)
FSH
A
124.99
KH81
Wild Bird Food (25 lb)
24
BRD
19.99
LD14
Locking Small Dog Door
14
DOG
A
49.99
LP73
Large Pet Carrier
23
DOG
59.99
ITEM table
The SALES_REP table includes the information for each sales representative for KimTay's Pet
Supplies. This includes first and last name, address, cell-phone, commission, and commission
rate.
REP_ID
FIRST_NAME
LAST_NAME
ADDRESS
CITY
STATE
POSTAL
CELL_PHONE
COMMISSION
RATE
05
Susan
Garcia
42 Mountain Ln
Cody
WY
82414
307-824-1245
12743.16
0.04
10
Richard
Miller
87 Pikes Dr
Ralston
WY
82440
307-406-4321
20872.11
0.06
15
Donna
Smith
312 Oak Rd
Powell
WY
82440
307-982-8401
14912.92
0.04
20
Daniel
Jackson
19 Lookout Dr
Elk Butte
WY
82433
307-883-9481
0.00
0.04
SALES_REP table](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fac2936f6-bb58-4096-9c21-a72f85c9838d%2Fb998565e-bf78-4bef-896c-2157df4b78b1%2Fb3winuv_processed.png&w=3840&q=75)
Transcribed Image Text:INVOICE_NUM
ITEM_ID
QUANTITY
QUOTED_PRICE
14216
CA75
3
37.99
14219
AD72
79.99
14219
DT12
39.99
14222
LD14
1
47.99
14224
KH81
4
18.99
14228
FS42
1
124.99
14228
PF19
1
74.99
14231
UF39
189.99
14233
KH81
1
19.99
14233
QB92
4
109.95
14233
WB49
4
74.95
14237
LP73
3
54.95
INVOICE_LINE table
The ITEM table has a information pertaining to each item for sale by KimTay's Pet Supplies.
This includes a description, the number in stock, location, and price.
ITEM_ID
DESCRIPTION
ON_HAND
CATEGORY
LOCATION
PRICE
AD72
Dog Feeding Station
12
DOG
79.99
ВСЗЗ
Feathers Bird Cage (12x24x18)
10
BRD
79.99
CA75
Enclosed Cat Litter Station
15
CAT
39.99
DT12
Dog Toy Gift Set
27
DOG
39.99
FM23
Fly Mask with Ears
41
HOR
C
24.95
FS39
Folding Saddle Stand
12
HOR
39.99
FS42
Aquarium (55 Gallon)
FSH
A
124.99
KH81
Wild Bird Food (25 lb)
24
BRD
19.99
LD14
Locking Small Dog Door
14
DOG
A
49.99
LP73
Large Pet Carrier
23
DOG
59.99
ITEM table
The SALES_REP table includes the information for each sales representative for KimTay's Pet
Supplies. This includes first and last name, address, cell-phone, commission, and commission
rate.
REP_ID
FIRST_NAME
LAST_NAME
ADDRESS
CITY
STATE
POSTAL
CELL_PHONE
COMMISSION
RATE
05
Susan
Garcia
42 Mountain Ln
Cody
WY
82414
307-824-1245
12743.16
0.04
10
Richard
Miller
87 Pikes Dr
Ralston
WY
82440
307-406-4321
20872.11
0.06
15
Donna
Smith
312 Oak Rd
Powell
WY
82440
307-982-8401
14912.92
0.04
20
Daniel
Jackson
19 Lookout Dr
Elk Butte
WY
82433
307-883-9481
0.00
0.04
SALES_REP table
![The CUSTOMER table maintains information about each customer, such as their ID, first and last
name, address, balance, and credit limit.
CUST_ID
FIRST_NAME
LAST_NAME
ADDRESS
CITY
STATE
POSTAL
EMAIL
BALANCE
CREDIT_LIMIT
REP_ID
125
Joey
Smith
17 Fourth St
Cody
WY
82414
jsmith17@example.com
80.68
500.00
05
182
Billy
Rufton
21 Simple Cir
Garland
WY
82435
billyruff@example.com
43.13
750.00
10
227
Sandra
Pincher
53 Verde Ln
Powell
WY
82440
spinch2@example.com
156.38
500.00
15
294
Samantha
Smith
14 Rock Ln
Ralston
WY
82440
ssmith5@example.com
58.60
500.00
10
314
Tom
Rascal
1 Rascal Farm Rd
Cody
WY
82414
trascal3@example.com
17.25
250.00
15
375
Melanie
Jackson
42 Blackwater Way
Elk Butte
WY
82433
mjackson5@example.com
252.25
250.00
05
435
James
Gonzalez
16 Rockway Rd
Wapiti
WY
82450
jgonzo@example.com
230.40
1000.00
15
492
Elmer
Jackson
22 Jackson Farm Rd
Garland
WY
82435
ejackson4@example.com
45.20
500.00
10
543
Angie
Hendricks
27 Locklear Ln
Powell
WY
82440
ahendricks7@example.com
315.00
750.00
05
616
Sally
Cruz
199 18th Ave
Ralston
WY
82440
scruz5@example.com
8.33
500.00
15
721
Leslie
Smith
123 Sheepland Rd
Elk Butte
WY
82433
Ismith12@example.com
166.65
1000.00
10
795
Randy
Blacksmith
75 Stream Rd
Cody
WY
82414
rblacksmith6@example.com
61.50
500.00
05
CUSTOMER table
In the INVOICES table contains information about each invoice, such as the invoice number,
date, and the customer being invoiced.
INVOICE_NUM
INVOICE_DATE
CUST_ID
14216
2021-11-15
125
14219
2021-11-15
227
14222
Open image in a new tab
2021-11-16
294
14224
2021-11-16
182
14228
2021-11-18
435
14231
2021-11-18
125
14233
2021-11-18
435
14237
2021-11-19
616
INVOICES table
The INVOICE_LINE table has the itemized information for each invoice. This includes the item
ids, quantity, and price for each invoice.
INVOICE_NUM
ITEM_ID
QUANTITY
QUOTED_PRICE
14216
CA75
3
37.99
14219
AD72
2
79.99
14219
DT12
39.99
14222
LD14
1
47.99
14224
KH81
4
18.99
14228
FS42
1
124.99
14228.
PE19
74.99](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fac2936f6-bb58-4096-9c21-a72f85c9838d%2Fb998565e-bf78-4bef-896c-2157df4b78b1%2Fgr633pl_processed.png&w=3840&q=75)
Transcribed Image Text:The CUSTOMER table maintains information about each customer, such as their ID, first and last
name, address, balance, and credit limit.
CUST_ID
FIRST_NAME
LAST_NAME
ADDRESS
CITY
STATE
POSTAL
EMAIL
BALANCE
CREDIT_LIMIT
REP_ID
125
Joey
Smith
17 Fourth St
Cody
WY
82414
jsmith17@example.com
80.68
500.00
05
182
Billy
Rufton
21 Simple Cir
Garland
WY
82435
billyruff@example.com
43.13
750.00
10
227
Sandra
Pincher
53 Verde Ln
Powell
WY
82440
spinch2@example.com
156.38
500.00
15
294
Samantha
Smith
14 Rock Ln
Ralston
WY
82440
ssmith5@example.com
58.60
500.00
10
314
Tom
Rascal
1 Rascal Farm Rd
Cody
WY
82414
trascal3@example.com
17.25
250.00
15
375
Melanie
Jackson
42 Blackwater Way
Elk Butte
WY
82433
mjackson5@example.com
252.25
250.00
05
435
James
Gonzalez
16 Rockway Rd
Wapiti
WY
82450
jgonzo@example.com
230.40
1000.00
15
492
Elmer
Jackson
22 Jackson Farm Rd
Garland
WY
82435
ejackson4@example.com
45.20
500.00
10
543
Angie
Hendricks
27 Locklear Ln
Powell
WY
82440
ahendricks7@example.com
315.00
750.00
05
616
Sally
Cruz
199 18th Ave
Ralston
WY
82440
scruz5@example.com
8.33
500.00
15
721
Leslie
Smith
123 Sheepland Rd
Elk Butte
WY
82433
Ismith12@example.com
166.65
1000.00
10
795
Randy
Blacksmith
75 Stream Rd
Cody
WY
82414
rblacksmith6@example.com
61.50
500.00
05
CUSTOMER table
In the INVOICES table contains information about each invoice, such as the invoice number,
date, and the customer being invoiced.
INVOICE_NUM
INVOICE_DATE
CUST_ID
14216
2021-11-15
125
14219
2021-11-15
227
14222
Open image in a new tab
2021-11-16
294
14224
2021-11-16
182
14228
2021-11-18
435
14231
2021-11-18
125
14233
2021-11-18
435
14237
2021-11-19
616
INVOICES table
The INVOICE_LINE table has the itemized information for each invoice. This includes the item
ids, quantity, and price for each invoice.
INVOICE_NUM
ITEM_ID
QUANTITY
QUOTED_PRICE
14216
CA75
3
37.99
14219
AD72
2
79.99
14219
DT12
39.99
14222
LD14
1
47.99
14224
KH81
4
18.99
14228
FS42
1
124.99
14228.
PE19
74.99
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
Step 1: Introduction to sql queries
SQL queries are a set of instructions given to the database to retrieve specific data. SQL was invented by IBM. Commands used to retrieve data such as SELECT, UPDATE, DELETE, INSERT etc. Every command in SQL has a specific format to follow. By using databases with these SQL queries we can manage the data in a secured and structured way.
Trending now
This is a popular solution!
Step by step
Solved in 3 steps
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Recommended textbooks for you
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
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…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
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)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
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…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
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)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
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](https://www.bartleby.com/isbn_cover_images/9781337093422/9781337093422_smallCoverImage.gif)
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
![Prelude to Programming](https://www.bartleby.com/isbn_cover_images/9780133750423/9780133750423_smallCoverImage.jpg)
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
![Sc Business Data Communications and Networking, T…](https://www.bartleby.com/isbn_cover_images/9781119368830/9781119368830_smallCoverImage.gif)
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY