Wednesday, 5 February 2014

Database Management System CS403 Assignment No.4 Solution 6th February 2014

Database Management System (CS403)

Assignment No.4 (Graded)

                                    Total Marks:    20

Important things to consider before doing this assignment: 

  1. This Assignment is the continuation of third Assignment. Taking in consideration the same case study of Education and Requirement Testing (ERTS), conceptual database has been provided in the form of an ERD.
  2. Now you have to complete your next phase of the Database Development Process which is physical database design. You will create it by utilizing the ERD provided in the next page.

Task Description:


In this assignment you will focus only on the tasks given below:

  1. Open the Query Analyzer/SQL server management studio, and create a new database with your student id, like a sample screenshot provided on the last page of this assignment file.
  2. You are required to transform all entities given in the below ER diagram into tables.
  3. You have to transform all entity attributes into columns.
  4. Define appropriate data types of each attribute.
  5. Apply entity integrity constraint by defining primary key, and foreign key of each entity.
  6. Insert 5 rows in each table.
  7. Write an SQL query to apply left outer join between table APPLICANT and CELL_NUMBER and show the result.
  8. Take screenshots of your work, and paste them in your solution file (.DOC file).