The purchasing manager is still concerned about the impact of price on sales. Write a query to display the brand name, brand type, product SKU, product description, and price of any products that are not a premium brand, but that cost more than the most expensive premium brand products (Figure P7.55).

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

The purchasing manager is still concerned about the impact of price on sales. Write a query to display the brand name, brand type, product SKU, product description, and price of any products that are not a premium brand, but that cost more than the most expensive premium brand products (Figure P7.55).

 

Use SQL, do not write for access and use schema I gave

FIGURE P7.27 THE CH07_LARGECO ERD
LGCUSTOMER
PK Cust Code
Cust_Fname
Cust_Lname
Cust_Street
Cust_City
Cust_State
Cust_ZIP
Cust_Balance
places
LGINVOICE
PK Inv Num
FK1 Cust_Code
Inv_Date
Inv_Total
FK2 Employee_ID
completes
LGEMPLOYEE
PK Emp Num
Emp_Fname
Emp_Lname
Emp_Email
Emp_Phone
Emp_Hiredate
Emp_Title
Emp_Comm
FK1 Dept_Num
LGDEPARTMENT
employs manages
1
PK Dept_Num
H+
FK1 Emp_Num
Dept Name
Dept_Mail Box
Dept_Phone
contains
+H
has
+PK
LGLINE
PK,FK1 Inv_Num
PK
Line Num
FK2
Prod_SKU
Line_Qty
Line Price
LGSALARY HISTORY
PK,FK1 Emp_Num
Sal_From
Sal End
Sal_Amount
appears on
41-
LGBRAND
PK Brand ID
PK
Brand Name
Brand Type
includes
I
LGPRODUCT
Prod_SKU
Prod_Descript
Prod Type
Prod Base
Prod_Category
Prod_Price
Prod_QOH
Prod_Min
FK1 Brand_ID
provided by
LGSUPPLIES
PK,FK1 Vend_ID
PK,FK2 Prod_SKU
provides
LGVENDOR
PK Vend ID
Vend_Name
Vend_Street
Vend_City
Vend_State
Vend_ZIP
Transcribed Image Text:FIGURE P7.27 THE CH07_LARGECO ERD LGCUSTOMER PK Cust Code Cust_Fname Cust_Lname Cust_Street Cust_City Cust_State Cust_ZIP Cust_Balance places LGINVOICE PK Inv Num FK1 Cust_Code Inv_Date Inv_Total FK2 Employee_ID completes LGEMPLOYEE PK Emp Num Emp_Fname Emp_Lname Emp_Email Emp_Phone Emp_Hiredate Emp_Title Emp_Comm FK1 Dept_Num LGDEPARTMENT employs manages 1 PK Dept_Num H+ FK1 Emp_Num Dept Name Dept_Mail Box Dept_Phone contains +H has +PK LGLINE PK,FK1 Inv_Num PK Line Num FK2 Prod_SKU Line_Qty Line Price LGSALARY HISTORY PK,FK1 Emp_Num Sal_From Sal End Sal_Amount appears on 41- LGBRAND PK Brand ID PK Brand Name Brand Type includes I LGPRODUCT Prod_SKU Prod_Descript Prod Type Prod Base Prod_Category Prod_Price Prod_QOH Prod_Min FK1 Brand_ID provided by LGSUPPLIES PK,FK1 Vend_ID PK,FK2 Prod_SKU provides LGVENDOR PK Vend ID Vend_Name Vend_Street Vend_City Vend_State Vend_ZIP
BRAND NAME
LONG HAUL
BRAND_TYPE
CONTRACTOR
PROD_SKU
1964-OUT
PROD_DESCRIPT
Fire Resistant Top Coat, for Interior Wood
PROD_PRICE
78.49
Transcribed Image Text:BRAND NAME LONG HAUL BRAND_TYPE CONTRACTOR PROD_SKU 1964-OUT PROD_DESCRIPT Fire Resistant Top Coat, for Interior Wood PROD_PRICE 78.49
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

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