Question: Answer the following questions concerning Figures 1-17 and 1-18: Figures 1-17 Figures 1-18 a. What will be the field size for the ProductLineName field in

Answer the following questions concerning Figures 1-17 and 1-18:

Figures 1-17

CREATE TABLE ProductLine_T (ProductLinelD VARCHAR (40) NOT NULL PRIMARY KEY, PIPriorYearGoal DECIMAL, PICurrentYearGoal

Figures 1-18

CREATE TABLE ProductLine_T (ProductLinelD VARCHAR (40) NOT NULL PRIMARY KEY, PIPriorYearGoal DECIMAL,


a. What will be the field size for the ProductLineName field in the Product table? Why?

b. In Figure 1-18, how is the ProductID field in the Product table specified to be required? Why is it a required attribute?

c. In Figure 1-18, explain the function of the FOREIGN KEY definition.

CREATE TABLE ProductLine_T (ProductLinelD VARCHAR (40) NOT NULL PRIMARY KEY, PIPriorYearGoal DECIMAL, PICurrentYearGoal DECIMAL);

Step by Step Solution

3.31 Rating (163 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

SQL statements in Figure 117 and 118 questions a The field size for the ProductLi... View full answer

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

Document Format (1 attachment)

Word file Icon

613-CS-DB (1562).docx

120 KBs Word File

Students Have Also Explored These Related Databases Questions!