Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Spatial Database Systems Design Implementation And Project Management

Authors: Albert K.W. Yeung, G. Brent Hall

1st Edition

1402053932, 978-1402053931

More Books

Students also viewed these Databases questions

Question

=+structure and a transnational organizational structure?

Answered: 1 week ago

Question

What is the basis for Security Concerns in Cloud Computing?

Answered: 1 week ago

Question

Describe the three main Cloud Computing Environments.

Answered: 1 week ago