Problem regarding advanced challenge

Assignment Help Basic Computer Science
Reference no: EM13856774

Advanced Challenge:

Currently, the contents of the Category column in the BOOKS table are the actual name for each category. This structure presents a problem if one user enters COMPUTER for the Computer category and another user enters COMPUTERS. To avoid this and the other problems that might occur, the database designers have decided to create a CATEGORY table containing a code and description of each category. The structure for the CATEGORY table should be as follows:

Column Name

Datatype

Width

Constrains

CATCODE

VARCHAR2

3

PRIMARY KEY

CATDESC

VARCAR2

11

NOT NULL

The data of the CATEGORY table is as follows:

CATCODE

CATDESC

BUS

BUSINESS

CHN

CHILDREN

COK

COOKING

COM

COMPUTER

FAL

FAMILY LIFE

FIT

FITNESS

SHE

SELF HELP

LIT

LITERATURE

Required:

1. Create the CATEGORY table and populate it with the given data. Save the changes permanently.

2. Add a column to the BOOKS table called Catcod.

3. Add a FOREIGN KEY constraint that requires all category codes entered in the BOOKS table, based on each book's current Category value.

4. Verify that the correct categories have been assigned in the BOOKS table, and save the changes permanently.

5. Delete the Category column from the BOOKS table.

Reference no: EM13856774

Questions Cloud

Prepare a cash budget for the kindergarten : On attending its first meeting in 20X9 you have been appointed honorary treasurer of the Ashmont Pre-School Kindergarten. Prepare a cash budget for the kindergarten to determine the total fees revenue required in 20X9. Calculate the annual fees requi..
Proponent of decentralized form of socialism usually support : Proponents of decentralized forms of socialism usually support
What amount barbara include in computing her medical expense : Before considering the AGI limitation, what amount may Barbara include in computing her medical expense deduction?
Problem regarding advanced challenge : Currently, the contents of the Category column in the BOOKS table are the actual name for each category. This structure presents a problem if one user enters COMPUTER for the Computer category and another user enters COMPUTERS.
Describe the network topology for the proposed design : Create a network diagram to show the arrangement and connection relationships for the network components. Describe the network topology for the proposed design
Compute the total unit cost for the national retailer order : Compute the unit cost for each department. Compute the total unit cost for the national retailer order. Compute the prime costs and conversion costs per unit for each department.
The cost of preferred stock : The cost of preferred stock:
Summarizes landes hypothesis : Write a 500 word essay that summarizes landes hypothesis regarding the relationship between the emergence of European communes (cities) and European economic development.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  How to make circumstances easier to design and implement

Do you think that a database would make a design more complex to implement or make your circumstances easier to design and implement? Databases by nature reduce data redundancy which improves data integrity enabling you to reduce coding since you..

  Describing how prolog executes command

Describe how Prolog executes command (query) and goal matching process.

  Understanding access control is a critical part of it secure

Understanding access control is a critical part of IT security. There are many factors to consider when choosing the "right" solution for your particular situation. Demonstrate your knowledge of access controls by briefly describing two of them..

  Provide an explanation of hash tables

Provide an explanation of hash tables, including a description of a realistic scenario that could be solved with the application of a hash table.

  A tool used to analyze traffic

A tool used to analyze traffic

  Define a class named circle

Define a pure abstract base class called BasicShape. The BasicShape class should have the following members.

  Discuss the different html/css versions and browser versions

HTML versus XHTML - Discuss the different HTML/CSS Versions and Browser Versions

  Business continuity planning

Imagine that you are trying to receive funding for select planning projects. Compare and contrast the attributes of business continuity and disaster recovery plans, and suggest the primary ways in which you would explain these differences to your emp..

  How would you describe the process of certification

How would you describe the process of certificatio Explain your thoughts regarding the process of accreditation. Is it a formality, or will it guarantee that PVSS will actually correct the remediation finding? Would this opinion regarding accreditati..

  Preparations for construction of a housing development

Riverside Bayview Homes, Inc. (Riverside), owned 80 acres of low-lying marshland (wet-lands) near the shores of Lake St. Clair in Macomb County, Michigan. Riverside began to place fill materials on its property as part of its preparations for constru..

  Explain the effects of internet on strong brands

Explain the effects you believe the Internet's capabilities will have on the brands you identified in the previous discussion and what the owner of the brand should do in light of them.

  How to make system more user-friendly

What improvements or additions to the system do you believe would advantage you or make system more user-friendly? Why?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd