|
Assignment No. 04
Semester Fall 2012 Database Management Systems-CS403 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Objective:
To learn and understand basic concepts of SQL.
Instructions:
Please read
the following instructions carefully before solving & submitting
assignment:
Assignment should be in
your own wordings not copied from net, handouts or books.
It should be clear that
your assignment will not get any credit (zero marks) if:
For any query about the assignment, contact at cs403@vu.edu.pk
GOOD LUCK
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Use the following tables to solve this assignment.
Table 1: INSTRUCTOR
TABLE
Table 2: STUDENT TABLE
You are required to write a
SQL query to display the following output table:
Our
Expectations: Hopefully, you all would be fine. Here in this practice
assignment. You all are required to create two tables (Instructor, Student)
using SQL CREATE TABLE statement in SQL Server. Example CREATE TABLE practice
queries have also been uploaded in “Downloads” section under VULMS.
We need
screenshots of all your work, which will be pasted in your solution file (DOC
File).
Marks
Distribution will be as under:
CREATE TABLE
Commands = 5 (2.5 for each table) marks
INSERT INTO Table
Commands = 5
(2.5 for each table) marks //
For time saving you can only insert three records in each table.
SELECT Query = 10 marks
|