Answered step by step
Verified Expert Solution
Question
1 Approved Answer
using sql 13. Write a SELECT on the table OE.PRODUCT_INFORMATION to display the WEIGHT_CLASS column and a WEIGHT_DESCRIPTION calculated with the DECODE applied to the
using sql
13. Write a SELECT on the table OE.PRODUCT_INFORMATION to display the WEIGHT_CLASS column and a WEIGHT_DESCRIPTION calculated with the DECODE applied to the WEIGHT_LAS. The DECODE should return values as follows: WEIGHT_CLASS WEIGHT_DESCRIPTION 1 VERY HEAVY 2 HEAVY 3 MEDIUM 4 LIGHT 5 V. VERY LIGHT Nm 14. Try to add a column WEIGHT_DESCRIPTION to the table PRODUCT_INFORMATION. All the tables are protected, you can just SELET. 15. CREATE a copy called PRODUCT_INFORMATION_COPY. 16. Add a column WEIGHT_DESCRIPTION to the table PRODUCT_INFORMATION_COPY. 17. Set the column WEIGHT_DESCRIPTION with the results of the DECODE function as in the previous question. 18. Add a column WEIGHT_CLASS_DESCRIPTION. 19. Fill in the new column by concatenating the 2 columns WEIGHT_CLASS and WEIGHT_DESCRIPTION (like 1-VERY HEAVY)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