School Case Study
School Case Study
School Case Study
ER D M O DE L I NG
FUNCTIONALITY SPECIFICATIONS:
D AT A BA S E DE S IG N:
1. Cr e a t e a D A T AB A SE : SC H O OL
2. Cr e a t e a s e con d a ry fi le gr ou p an d as s ign a c ou p le of fi les t o i t.
3. Mak e th e s e con d a ry f i le gr ou p as th e d ef au lt f i leg r ou p.
4. Cr e a t e th e b e lo w t ab le s . P la c e th e m i n d if f e ren t fi le g ro u ps if th e y a re t o b e u s e d
in jo in s .
www.GoOnlineTrainings.com Pg: 1
Mobile No: +91-9000075637/9642143942
CREATE THE FOLLOWING THREE TABLES WITH SAME NAMES AND DATA TYPES AS PROVIDED
BELOW:
Cou rs e Ma st e r
Co lu mn N am e Da ta T yp e Re ma rk s
CID In te g e r Pri m ar y K e y
Na m e V a rch a r ( 40 ) NO T NUL L
Ca t e g or y C h a r( 1) B as i c /Me di u m /A d van c e d
Fe e Sm a llm on e y NO T NUL L
Stu d en t M a st er
Co lu mn N am e Da ta T yp e Rem a r k s
Na m e V ar ch a r ( 40) NO T N UL L
Typ e Ch ar (1) Un d e rG ra du at e /G r a du a te
En r o l lm en t Ma st er
Co lu mn N am e Da ta T yp e Re ma rk s
SI D Ti n yi nt F ore ign Ke y
D at e o f E nr o llm en t D at e Ti m e NO T NUL L
Fe e W ai ve r F la g Bi t NO T NUL L
Gr a d e C h a r( 1) O /A /B /C
www.GoOnlineTrainings.com Pg: 2
Mobile No: +91-9000075637/9642143942
USING THE ABOVE TABLE LAYOUTS AS SCHEMA, WRITE T -SQL STATEMEN TS FO R THE
FOL LOWING R EQU IR EMENTS:
S T OR E D P R OCE D U R E
USING THE ABOVE TABLE LAYOUTS AS SCHEMA, WRITE A STORED PROCEDURE FOR THE
FOLLOWING SPECIFICATIONS:
In p ut P a ra m et e r s:
D at e F ro m (M an d a t ory ) , D at e To ( op ti on a l, i f n ot sp e c i fi e d, t ak e th e cu rr en t d at e) , &
St ud en t ID ( M an d at o ry )
www.GoOnlineTrainings.com Pg: 3
Mobile No: +91-9000075637/9642143942
Re qu i r em en t s:
-- - - - - - - - - -- - - - - - - - - -- - - - - - - - - -- - - - - - - - - -- - - - - - - - - -- - - - - - - - - -- - - - - - - - - -- - - - - - - - - -- - - - - - - - -
O ri gin : Typ e:
SL . No C ou rs e Na m e D a t e o f E nr o llm en t F e e W ai ve r ? G rad e
( Y es /N o)
… … …… …… ……
… … …… …… ……
To t a l N o. o f C o u rs e s E n r ol led :
*** E n d of Do cu m e n t * **
www.GoOnlineTrainings.com Pg: 4