Question: 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

using sql 13. Write a SELECT on the table OE.PRODUCT_INFORMATION to display

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!