2- Using the output shown below as your guide, generate a list of customer purchases, including the subtotals for each of the invoice line numbers. The subtotal is a derived attribute calculated by multiplying LINE_UNITS by LINE_PRICE. Sort the output by customer code, invoice number, and product description. Be certain to use the column aliases as shown in the figure. P DESCRPT 1002 Rat-tail file, 1/8-in. fine 1004 Claw hammer 1004 Rat-tail fle, 1/8-in. fine 1008 Claw hammer CUS_CODE INV_NUMBER 10011 Units Bought Unit Price 4.99 Subtotal 2 9.98 10011 2 9.95 19.90 10011 3 4.99 14.97 10011 9.95 9.95 10011 1008 PVC pipe, 3.5-in., 8-fA 1008 Steel matting, 4x8x1/6", 5" mesh 1003 7.25-in. pwr. saw blade 1003 B&D cordless drill, 1/2-in. 1003 Hrd. cloth, 1/4-in., 2x50 1001 7.25 in. pwr. saw blade 1001 Claw hammer 5.87 29.35 359.85 74.95 10011 3 119.95 10012 5 14.99 10012 1 38.95 38.95 10012 1 39.95 39.95 10014 14.99 14.99 9.95 6.99 109.92 10014 1 9.95 20.97 109.92 10014 1006 1.25-in. metal screw, 25 3 1006 B&D jigsaw, 12-in. blade 1006 Claw hammer 1006 Hicut chain saw, 16 in. 1007 7.25-in. pwr. saw blade 1007 Rat-tail file, 1/8-in. fine 1005 PVC pipe, 3.5-in., 8-ft 10014 1 10014 1 9.95 9.95 10014 1 256.99 256.99 10015 2 14.99 29.98 10015 1 4.99 499 10018 12 5.87 7044
2- Using the output shown below as your guide, generate a list of customer purchases, including the subtotals for each of the invoice line numbers. The subtotal is a derived attribute calculated by multiplying LINE_UNITS by LINE_PRICE. Sort the output by customer code, invoice number, and product description. Be certain to use the column aliases as shown in the figure. P DESCRPT 1002 Rat-tail file, 1/8-in. fine 1004 Claw hammer 1004 Rat-tail fle, 1/8-in. fine 1008 Claw hammer CUS_CODE INV_NUMBER 10011 Units Bought Unit Price 4.99 Subtotal 2 9.98 10011 2 9.95 19.90 10011 3 4.99 14.97 10011 9.95 9.95 10011 1008 PVC pipe, 3.5-in., 8-fA 1008 Steel matting, 4x8x1/6", 5" mesh 1003 7.25-in. pwr. saw blade 1003 B&D cordless drill, 1/2-in. 1003 Hrd. cloth, 1/4-in., 2x50 1001 7.25 in. pwr. saw blade 1001 Claw hammer 5.87 29.35 359.85 74.95 10011 3 119.95 10012 5 14.99 10012 1 38.95 38.95 10012 1 39.95 39.95 10014 14.99 14.99 9.95 6.99 109.92 10014 1 9.95 20.97 109.92 10014 1006 1.25-in. metal screw, 25 3 1006 B&D jigsaw, 12-in. blade 1006 Claw hammer 1006 Hicut chain saw, 16 in. 1007 7.25-in. pwr. saw blade 1007 Rat-tail file, 1/8-in. fine 1005 PVC pipe, 3.5-in., 8-ft 10014 1 10014 1 9.95 9.95 10014 1 256.99 256.99 10015 2 14.99 29.98 10015 1 4.99 499 10018 12 5.87 7044
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
Related questions
Question
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 4 images
Knowledge Booster
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.Recommended textbooks for you
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)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
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)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education