Generate a listing of all purchases made by the customers, using the output shown below as your guide. Sort the results by customer code, invoice number, and product description.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
icon
Concept explainers
Question

Generate a listing of all purchases made by the customers, using the output shown below as your guide. Sort the results by customer code, invoice number, and product description.

CUS_CODE INY_NUMBER INV_DATE
P_DESCRIPT
LNE_UNITS LINE_PRICE
1 0011
1002
16-Jan-18 Rat-tall fle, 118-n. tine
2
4.99
1 0011
1004
17-Jan-18 Claw hammer
2
995
1 0011
1004 17-Jan-18 Rat-tail fle, 18-in. time
3
4.99
1 0011
1003 17-Jan-10 Clow hamnor
1
9.95
1 0011
1003
17-Jan-10 PVC pipe, 3.5-n., 6-ft
5.07
1 0011
1003 17-Jan-18 Steel mattng,4x8x1/6", 5" mesh
3
119.95
10012
1003 16-Jan-18 7.25-in pwr. saw blade
14.99
10012
1003
16-Jan-18 B8D cardless drill, 12-in.
1
38.95
10012
1003 16-Jan-18 Hrd.cloth, 1/4-in., 2x50
1
39.95
1 0014
1001 16-Jan-18 7.25-in. pwr. savr blade
1
14.99
10014
1001 16-Jan-18 Claw hammer
1
9.95
1005 17-Jan-18 1.25-in metal screw, 25
1005 17-Jan-18 BSD jigsaw, 12-in. blade
1009 17-Jan-10 Claw hammer
10014
6.99
10014
1
109.92
1 0014
9.95
1 0014
1008 17-Jan-18 Hicut chain saw, 16 in.
1007 17-Jan-187.25-n. pwr. saw blade
1007 17-Jan-18 Rat-tail fle, 18-in. tine
1005 17-Jan-18 PVC pipe, 3.5-n., 8-ft
1
256.99
10015
2
14.99
1 0015
1
4.99
1 0018
12
5.87
Transcribed Image Text:CUS_CODE INY_NUMBER INV_DATE P_DESCRIPT LNE_UNITS LINE_PRICE 1 0011 1002 16-Jan-18 Rat-tall fle, 118-n. tine 2 4.99 1 0011 1004 17-Jan-18 Claw hammer 2 995 1 0011 1004 17-Jan-18 Rat-tail fle, 18-in. time 3 4.99 1 0011 1003 17-Jan-10 Clow hamnor 1 9.95 1 0011 1003 17-Jan-10 PVC pipe, 3.5-n., 6-ft 5.07 1 0011 1003 17-Jan-18 Steel mattng,4x8x1/6", 5" mesh 3 119.95 10012 1003 16-Jan-18 7.25-in pwr. saw blade 14.99 10012 1003 16-Jan-18 B8D cardless drill, 12-in. 1 38.95 10012 1003 16-Jan-18 Hrd.cloth, 1/4-in., 2x50 1 39.95 1 0014 1001 16-Jan-18 7.25-in. pwr. savr blade 1 14.99 10014 1001 16-Jan-18 Claw hammer 1 9.95 1005 17-Jan-18 1.25-in metal screw, 25 1005 17-Jan-18 BSD jigsaw, 12-in. blade 1009 17-Jan-10 Claw hammer 10014 6.99 10014 1 109.92 1 0014 9.95 1 0014 1008 17-Jan-18 Hicut chain saw, 16 in. 1007 17-Jan-187.25-n. pwr. saw blade 1007 17-Jan-18 Rat-tail fle, 18-in. tine 1005 17-Jan-18 PVC pipe, 3.5-n., 8-ft 1 256.99 10015 2 14.99 1 0015 1 4.99 1 0018 12 5.87
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Query Syntax
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education