Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Part 2: Alering the Tables Overview - Alter the tables to set the constraints - Specity a delault value for a column - Set a

image text in transcribed
Part 2: Alering the Tables Overview - Alter the tables to set the constraints - Specity a delault value for a column - Set a table to a read-only status Assumptions: The primary and foreign key constraints are based on the ERD shown in the previous exercise and the unique constraints are based on the following: The following fieids should have unique values: - Course Name in AD_COURSES - Department Name in AD_DEPARTMENTS - Student Email in AD_STUDENTS - Faculty Email in AD.FACULTY - Session Name in AD_ACADEMIC_SESSIONS Tasks 1. Alter the tables in the Academic Database to define the primary key, foreign key and unique constraints. 2. Alter the table AD_FACULTY_LOGIN_DETALS and specify a defaill value for the column LOGN_DATE_TIME of SYSDATE. 3. Set the AD_PARENT INFORMATION table to a read-only status. NOTE: You can execute the INSERT / ALTER TABLE statements in Oracle Applicatian Express in one of the two ways: Method 1: a. Open Oraclo Application Express and paste the commands into the SOL Commands screen one at a time and run. Method 2 : b. Open Oracle Application Express and use the same script upload method as you did with the DDL commands above. Part 3: Creating Composite Primary, Foreign and Unique Keys Overview - Composite Primary Key - Composite Foreign Key - Composite Unique Key *" Note - these tables are not a part of the Academic Database Tasks 1. Create the DEPT table with the following structure: The primary key for this table needs to be defined as a composite comprising of the dept id and loc_id

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_2

Step: 3

blur-text-image_3

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

More Books

Students also viewed these Databases questions

Question

Find the derivative. f(x) 8 3 4 mix X O 4 x32 4 x32 3 -4x - x2

Answered: 1 week ago

Question

Prepare a constructive performance appraisal.

Answered: 1 week ago

Question

List the advantages of correct report formatting.

Answered: 1 week ago