Consider the following Database Schema. PK CUs COOE PK OL ER contains PKFK1 ry PK CUS LNAME CUs PHAME CUS INITAL CUS AREACODE CUS PHONE CUS BALANCE LE NUMBER FKI cus CODE V DATE PICE P.CODE Li UNITS LIME PRICE is found in VENDOR PRODUCT PK ly CODE PK PCODE V NAME VCONTACT HO--glen_ - VAREACODE V_PHONE V STATE V_ORDER P DESCRIPT PNDATE P QOH P MIN PPRICE P DISCOUNT FKT V CODE Write a SQL query to Display the code, description, price and quantity on hand of every product. The output should look identical to the following. P CODE 11QER/31 DESCRIPTION Unit Price QTY Power painter, 15 psi., 3-nozzle 7.25-in. pwr. saw blade 9.00-in. pwr. saw blade 109.99 8 13-02P2 14.99 32 14-01A3 17.49 18

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
Question
SQL
Consider the following Database Schema.
PK CUS CODE
PK DL MUMBER
HTPerutes
contains
PIKFKI Iy MUBER
PK
CUS LNAME
CUS FNAME
CUs IMITIAL
CUS AREACODE
CUS PHONE
CUS BALANCE
LINE NUMBER
FK1 Cus_CODE
INV DATE
FIK2
P CODE
LIME PRICE
is found In
VENDOR
PRODUCT
PK Y CODE
PK
P CODE
V_NAME
V CONTACT
V_AREACODE
V_PHONE
V_STATE
V ORDER
P DESCRIPT
P INDATE
P_QOH
P_MIN
P_PRICE
P DISCOUNT
FK1 V CODE
supplies
Write a SQL query to Display the code, description, price and quantity on hand of every product. The output should look identical to the following.
P_CODE
DESCRIPTION
Unit Price QTY
11QER/31
Power painter, 15 psi., 3-nozzle
7.25-in. pwr. saw blade
9.00-in. pwr. saw blade
109.99
8
13-Q2/P2
14.99
32
14-Q1L3
17.49
18
1546-QQ2
Hrd. cloth, 1/4-in., 2x50
1558-GW1 Hrd.cloth, 1/2-in., 3x50
39.95
15
43.99
23
Transcribed Image Text:Consider the following Database Schema. PK CUS CODE PK DL MUMBER HTPerutes contains PIKFKI Iy MUBER PK CUS LNAME CUS FNAME CUs IMITIAL CUS AREACODE CUS PHONE CUS BALANCE LINE NUMBER FK1 Cus_CODE INV DATE FIK2 P CODE LIME PRICE is found In VENDOR PRODUCT PK Y CODE PK P CODE V_NAME V CONTACT V_AREACODE V_PHONE V_STATE V ORDER P DESCRIPT P INDATE P_QOH P_MIN P_PRICE P DISCOUNT FK1 V CODE supplies Write a SQL query to Display the code, description, price and quantity on hand of every product. The output should look identical to the following. P_CODE DESCRIPTION Unit Price QTY 11QER/31 Power painter, 15 psi., 3-nozzle 7.25-in. pwr. saw blade 9.00-in. pwr. saw blade 109.99 8 13-Q2/P2 14.99 32 14-Q1L3 17.49 18 1546-QQ2 Hrd. cloth, 1/4-in., 2x50 1558-GW1 Hrd.cloth, 1/2-in., 3x50 39.95 15 43.99 23
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Dataset
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
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