Question: 5-36. Use SQL to define the following view: STUDENTID STUDENTNAME 5-37. To enforce referential in- tegrity, before any row can be entered into the SECTION

5-36. Use SQL to define the following view:
5-36. Use SQL to define the following view: STUDENTID STUDENTNAME 5-37. To enforce referential in- tegrity, before any row can be entered into the SECTION table, the CourseD to be entered must already exist in the COURSE ta-ble. Write an SQL assertion that will enforce this constraint. 5-38. Write SQL data definition commands for each of the following queries: a. How would you add an attribute, Class, to the STUDENT table? b. How would you remove the REGISTRATION table? c. What would you need to take into account if you wanted to remove the COURSE table? d. How would you change the FacultyName column from 25 characters to 40 characters

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 General Management Questions!