Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1 . Display the product code, product description, and product price for products provided by vendor 2 1 3 4 4 . Do NOT use
Display the product code, product description, and product price for products provided by vendor Do NOT use the here but list specific attributes and also use the WHERE clause.
Display all product information for products currently selling for less than $ and which came in between and inclusive Use the TO DATEJANddmonyyyy function and the between keyword between x and y You will use the for all attributes and also the AND keyword. hint: you should have rows of output
Display the product code, product description, price and price after discount a computed column that uses the PPRICE and PDISCOUNT a percent discount to be named with an alias of DiscountPrice AS DiscountPrice for products for which a vendor is specified in table PRODUCT. You will specify attribute names in the SELECT and use the WHERE clause for this query. hint: you should have rows of output
Display the product code, product description, product price, vendor code and vendor name for products provided by vendors located in the state of Tennessee. Since the attributes required for this query come from separate tables, you will need to include those in your FROM clause and also join those tables together using the PKFK pairs WHERE TCTCrefer to the diagram for the proper PKFK from each tablehint: you should have rows of output
PCODE PDESCRIPT PINDATE PQOH PMIN PPRICE PDISCOUNT VCODE
QER Power painter, psi., nozzle NOV
QP in pwr saw blade DEC
QLin pwr saw blade NOV
QQ Hrd cloth, inxJAN
QW Hrd cloth, inxJAN
QTY BD jigsaw, in blade DEC
QWE BD jigsaw, in blade DEC
QPD BD cordless drill, inJAN
HB Claw hammer JAN
AA Sledge hammer, lbJAN
T Rattail file, in fine DEC
WREQ Hicut chain saw, inFEB
PVCDRT PVC pipe, inft FEB
SMin metal screw, MAR
SWin wd screw, FEB
WRTT Steel, xx mesh JAN
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started