Welcome to Scribd. Sign in or start your free trial to enjoy unlimited e-books, audiobooks & documents.Find out more
Download
Standard view
Full view
of .
Look up keyword
Like this
1Activity
0 of .
Results for:
No results containing your search query
P. 1
assgn1_13_v1

assgn1_13_v1

Ratings:
(0)
|Views: 4|Likes:
Published by Thejaswar Teja

More info:

Categories:Types, Maps
Published by: Thejaswar Teja on Jan 09, 2013
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

05/03/2015

pdf

text

original

 
SSN COLLEGE OF ENGINEERING Department of Computer Science & Engineering Faculty: P.Mirunalini, Asst. Prof.Umalakshmi, Asst. Prof.CS2258 – DBMS Lab Assignment – 1 Assigned: 7-Jan-13 Due: 2 Lab HoursTitle: DDL for Student Course Enrollment
Student Course Enrollment
The University has decided to store information on the various courses offered by thedepartment and the list of students who enrolled for different courses in a database.The following are the information collected during the interation with the Databaseusers:a)The Student has a number, name, major, level and age. b)The Department has the details of ID, name and the head-of-department.c)The Faculty have their Faculty ID, name and the department for which they are working for.d)The Class has its name, meets_at – day[s] of class conducted and the timing, forexample: MTW 10:30-12:00, room number and the faculty handling the class.e)The Enrolled contains information about the students who have enrolled for theircorresponding classes.The criteria assumed in while storing the student details are:# A 
class
is handled by atmost one faculty.# The
major
is the course for which the student is enrolled within the department.# The course is different from the
class
enrolled by a student.Create the database with the following specifications:1.The student number, faculty ID, class name and department ID are used to retrievethe tuple(s) individually from respective relations.2.The level of the students can be FR for a freshman, SO for a sophomore, JR for a junior and SR for a senior.3.Ensure that the student and class details can not be removed without deleting theenrolled details. Similarly the department details can not be removed withoutdeleting the faculty which in turn can not be deleted without removing class details.4.A student can enroll for as many classes. Similarly a class can be enrolled by as many 

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->