Question
Implement the database design that you have created in question 1 using a RDBMS with proper integrity constraints. Enter about 10-20 records of meaningful data in each of your table.
Answer :
Word Count : 444
______ ______ __________ ___ ____ __________.
________ ______ ______ __________ ________ _________ __________ ____ ________ _________ ________ ___.
_________ _____ _________ ________ __________ ______ ___ _________.
_______ ______ ______ _______ ______ ____ __________.
________ ______ _____ __________ ________ ____ ____ ________ ______ ____ _________.
_______ _______ _________ ______ __________ ____ ___ __________ _______ ___ ___.
___ ___ __________ ___ ______ _________ __________ ____ ____ ___.
__________ __________ _________ __________ ___ __________ ___ _____.
__________ _________ ______ ________ _______ ___ ____ _____ ____.
_________ _______ ___ _____ ___ _________ __________ ___ __________ ___ ______ _______.
_____ __________ ___ _________ ______ _______ ___ _____ __________ ____ _________.
________ _____ ___ _______ _________ _____ ________ ___ ________ __________.
_____ __________ ____ _____ ____ ______ _____.
_____ ______ ________ _______ _________ __________ ________ _______ _______.
____ ______ __________ __________ ________ ____ _________ _______ ____ ______ ___ ________.
_______ ___ ________ _______ ________.
______ ____ ___ _____ _____ _____ ________ _____ ____ __________ ________.
____ ___ ______ ___ ____ _______ __________.
___ _____ ______ ______ ____ ___ _________.
___ _________ ________ ________ __________ _______ __________.
__________ _________ ___ ______ ________ __________.
________ ______ __________ ____ ______.
________ _________ _______ ____ _______ ________ ____ _______ _________ _____ ______ ______.
_________ __________ ________ ____ ___ __________ _________ _______.
_____ _________ _________ __________ ___.
_________ _____ ______ _____ ________ _________ _______ ________.
____ _____ ____ _________ ____.
__________ ____ ___ ________ ____ _________ __________ __________ ________ _______.
_____ ________ __________ __________ _________ __________ __________ __________ _______ _______.
_________ _______ __________ ________ ______ ____ _________ ________ __________ ______.
_____ ___ ___ _________ ________ ____ ______ _________.
___ _________ _________ __________ _____ __________ _________ _____.
Skip in 10
To implement the database design we created in the previous response, you can use a Relational Database Management System (RDBMS) like MySQL, PostgreSQL, or Oracle. Here's an example implementation using MySQL:
- Create the necessary tables in the database:
CREATE TABLE Student ( enrolment_number INT PRIMARY KEY, name VARCHAR(50), father_name VARCHAR(50), date_of_birth DATE ); CREATE TABLE Programme ( programme_code VARCHAR(10) PRIMARY KEY, name VARCHAR(100), min_duration INT, max_duration INT ); CREATE TABLE Semester ( semester_number INT PRIMARY KEY, programme_code VARCHAR(10), FOREIGN KEY (programme_code) REFERENCES Programme(programme_code) ); CREATE TABLE Subject ( subject_code VARCHAR(10) PRIMARY KEY, name VARCHAR(100) ); CREATE TABLE Semester_Subjects ( semester_number INT, subject_code VARCHAR(10), PRIMARY KEY (semester_number, subject_code), FOREIGN KEY (semester_number) REFERENCES Semester(semester_number), FOREIGN KEY (subject_code) REFERENCES Subject(subject_code) ); CREATE TABLE Payment ( enrolment_number INT, programme_code VARCHAR(10),
________ ______ ______ __________ ________ _________ __________ ____ ________ _________ ________ ___.
_________ _____ _________ ________ __________ ______ ___ _________.
_______ ______ ______ _______ ______ ____ __________.
________ ______ _____ __________ ________ ____ ____ ________ ______ ____ _________.
_______ _______ _________ ______ __________ ____ ___ __________ _______ ___ ___.
___ ___ __________ ___ ______ _________ __________ ____ ____ ___.
__________ __________ _________ __________ ___ __________ ___ _____.
__________ _________ ______ ________ _______ ___ ____ _____ ____.
_________ _______ ___ _____ ___ _________ __________ ___ __________ ___ ______ _______.
_____ __________ ___ _________ ______ _______ ___ _____ __________ ____ _________.
________ _____ ___ _______ _________ _____ ________ ___ ________ __________.
_____ __________ ____ _____ ____ ______ _____.
_____ ______ ________ _______ _________ __________ ________ _______ _______.
____ ______ __________ __________ ________ ____ _________ _______ ____ ______ ___ ________.
_______ ___ ________ _______ ________.
______ ____ ___ _____ _____ _____ ________ _____ ____ __________ ________.
____ ___ ______ ___ ____ _______ __________.
___ _____ ______ ______ ____ ___ _________.
___ _________ ________ ________ __________ _______ __________.
__________ _________ ___ ______ ________ __________.
________ ______ __________ ____ ______.
________ _________ _______ ____ _______ ________ ____ _______ _________ _____ ______ ______.
_________ __________ ________ ____ ___ __________ _________ _______.
_____ _________ _________ __________ ___.
_________ _____ ______ _____ ________ _________ _______ ________.
____ _____ ____ _________ ____.
__________ ____ ___ ________ ____ _________ __________ __________ ________ _______.
_____ ________ __________ __________ _________ __________ __________ __________ _______ _______.
_________ _______ __________ ________ ______ ____ _________ ________ __________ ______.
_____ ___ ___ _________ ________ ____ ______ _________.
___ _________ _________ __________ _____ __________ _________ _____.
IGNOU ACADEMY
Your IGNOU journey, made easier.
- Solved Assignments
- Study Notes
- Guess Papers
- Question Papers
Continue Reading — It's Free
Sign in with Google to unlock more of this answer.
✓ Free access
✓ Unlock up to 60% of the answer
✓ No payment required
✓ Unlock up to 60% of the answer
✓ No payment required
Quick Google sign-in. No separate registration form.