0% found this document useful (0 votes)
40 views2 pages

Fall2010 CS403 5

This document outlines an assignment for a database management systems course. It provides instructions for students to create and update views using SQL statements based on sample tables of students, courses, and employees. The assignment is worth 15 total marks and includes 4 scenarios to demonstrate creating views to list employee names and designations, count courses a student is taking, and update an employee's designation. Students must follow formatting guidelines and include their student ID to receive credit.

Uploaded by

szsaifi
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
40 views2 pages

Fall2010 CS403 5

This document outlines an assignment for a database management systems course. It provides instructions for students to create and update views using SQL statements based on sample tables of students, courses, and employees. The assignment is worth 15 total marks and includes 4 scenarios to demonstrate creating views to list employee names and designations, count courses a student is taking, and update an employee's designation. Students must follow formatting guidelines and include their student ID to receive credit.

Uploaded by

szsaifi
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

Assignment No.

05
Total Marks: 15
Semester Fall2010
Database Management Systems-CS403 Due Date: 03/02/2011

Objective:
To learn and understand basic concepts of “creation and updating” of views.
Instructions:
Please read the following instructions carefully before solving & submitting assignment:
It should be clear that your assignment will not get any credit (zero marks) if:

o The assignment is submitted after due date.


o The submitted assignment does not open or file corrupt.
o The submitted assignment is in the format other than MS Word (doc).
o The assignment is copied (from other student or copy from handouts).
o Student ID is not mentioned in the assignment File or name of file is other than student ID.

For any query about the assignment, contact at [email protected]

GOOD LUCK

Q 1: Write SQL statements/queries to show the data for each of individual scenario given below
from the given tables on the next page. 15 marks (3+4+4+4)

1. Create a simple view showing the names of employees whose designation is ”Instructor”
2. Create a view to list down employees name and designation of Computer sciences Department
3. Update view to change designation from instructor to lecturer of employee “Ali hassan”
4. Create a view to show number of courses student “VU001” is studying.

If any of above query cannot execute then give its reason in one line

Student
Student ID Name
Vu001 Imran
Vu002 Raza
Vu003 Kashuf
Vu004 Fatima
Vu005 Maryum

Course CS403 Database Management System


Course ID Course Name Student Employee
ID id
CS403 Database Management System

You might also like