Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Due Sunday Feb 12 Details Overview: Use SQL to make the following changes to the TAL Distributors database (See Figure 12, Chapter 1). After each

Due Sunday Feb 12

image text in transcribed

image text in transcribed

Details Overview: Use SQL to make the following changes to the TAL Distributors database (See Figure 12, Chapter 1). After each change, execute an appropriate query to sow that the change was made correctly. See Step 2 for further instructions. Complete TAL Distributors: - Page 188 - Questions -- 1 -- 10 TAL Distributors Use SQL to make the following changes to the TAL Distributors database (see Figure 1-2 in Chapter 1). After each change, execute an appropriate query to show that the change was made correctly. If directed to do so by your instructor, use the information provided with the Chapter 3 Exercises to print your output or to save it to a document. 1. Create a NONGAME table with the structure shown in Figure 6-28. NONGAME FIGURE 6-28 NONGAME table layout 2. Insert into the NONGAME table the item number, description, number of units on hand, category, and unit price from the ITEM table for each item that is not in category GME. 3. In the NONGAME table, change the description of item number DL51 to "Classic Train Set." 4. In the NONGAME table, increase the price of each item in category TOY by two percent. (Hint: Multiply each price by 1.02.) 5. Add the following item to the NONGAME table: item number: TL92; description: Dump Truck; number of units on hand: 10; category: TOY; and price: 59.95. 6. Delete every item in the NONGAME table for which the category is PZL. 7. In the NONGAME table, change the category for item FD11 to null. 8. Add a column named ON_HAND_VALUE to the NONGAME table. The on-hand value is a seven-digit number with two decimal places that represents the product of the number of units on hand and the price. Then set all values of ON_HAND_VALUE to ON_HAND * PRICE. 9. In the NONGAME table, increase the length of the DESCRIPTION column to 40 characters. 10. Remove the NONGAME table from the TAL Distributors database

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

Databases A Beginners Guide

Authors: Andy Oppel

1st Edition

007160846X, 978-0071608466

More Books

Students also viewed these Databases questions