Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

d.

tx$

a "%.wv
USN .. wig 10css4
EISM,

-v
Fifth Semester B.E. Degree Examin , Dec.2018/Jan.20l9

o
o
o
d
rq
G
E
I
o
6
()
9? c)
&.o and workers
Q'r (10 Marks)
J5
EO (06 Marks)
-ooll
(04 Marks)
.Ef
.=N
GV S&rke S{$

ET a. Discuss the rolfuffi


- "W$r
h
e6
tr'tr
oB
Ea
q!

a=

b6
do
ot
o0d
(!d
€r
>.Y
z6
o6
Ed
5ts
o.:
€i
?o
HB
6d
Oj
60
PE
to
otE
EO
tp
>.H
doo ftndent name,*ffi,
-l*-\ Dep_B_date, Relationship)
oi= Retrieve the na ress, salary of ffilbyees who work for'Research
E"8
=o Find the gsqf$ffnployees who wprlfon all projects controlled by Department
9;
(r< Number4.
er.. \w

-i c.i $ffi of aff emp[offiho eitherwork in deparbnentNo :4 or directly


G)
o
employee who ffi in dept number 4.
z iv) names of er_np@yees who have no dependenb.
c v) Retrieve each deparhruffirumber, the number ofemployees in the department and their
!
o salary.M
average salary.
*,1
Marks)
(10 Marksl

4a. Write the syntax od


i) CREATE ry
ii) ALTER ru
iii) DROP d
iv) SELECf
v) INSERtr (10 Marks)
ffi#Y I of2
T''.........Eqr!!!l.F-:-.;!q-

10css4

b. Considerthe schpma in 3(c) and answerthe Queriffig SQL commands.


i) Retrieve sum of salary of all employees. "
ffi}
ii) Find all employees who were bom duripg e\ Sp0s.
iii; netrieve thi names of all employeesffiq$o hot have supervison*ffir'
iv) Retrieve the name of each employeffi6 has a dependent with&ffirb name and sex of
the employee. p &
v) Finh ihe '.maximum and migil&ffi salary of the emkkis working in 'Admin
dlpartment'. d-ffi (10 Marks)

r&'%d
* fud\s'tr W

:&dF PARr-B d. @
s"@
Write short notes o, , ,ffi
i) Constraints as Asseffiiffir and Trigger ii) \ffi*thal tables. (10 Marks)
b. Explain Embedded\ff-$xs! *d Dynamic SQL.
eru uJusuv ".<".* dP
du
(loMarks)
W srye
6 a. List and explainfffid four trnformal desim ffi lines tbr
design ffiidblines for Relahon schemas.
Relation schemas. (10 Marks)
b. Define Fr+pffit&ial Dependency.
eoendencv. Explain NF ,.22 NF
Exolain 1I l$F with an example.
example. (10 Marks)

lain 4 NF and 5 I*&-


a. DefindtsoTffie - Codd Normal Fo@plain (10 Marks)
b.w * ii) Mandator6ffis
i) Discretionary Access Contpl Control. ;\ (10 Marks)
&
8 ***'fte" .
a. Explain four import*tp@ies
rtant pf$p_qnles of Transu.tionW " W (10 Marks)
b. Write a note on : q"q}"
dffiv
'try.p ffie
i) 2PL ARpfl
ii) d"*o$lp-,,W
ARpfl ffi-# ffi
"p
(loMarks)
* s.d
dre* @
ffidv
*$d
d'*5* ,-{qllg!\.qeM/
wb-
,
*i-.
**o'"
dt d@e
%ffi* \
.#qs:*i#
"
s

ryY "* \
d-e?
; ,ffiM
\*
1' ^ \d
^q$ll$.;
ru* w ,{$w*:ir
M

\'
*Einp
".#
*^w
@*
&-
tuqffifh.
&"
.lMf ".t&
d

.":ry
.k
lF

a@ \
d*e
$'qmh-
-%d
&d&Y
Y.l 'Y
i ",q'P
w{Aw
",!W \
,@ #
,{i:-W; 4ffi*dc*rrrc
"rq \
ffit
&*"% "
$d ffiffi'-*
q/
trA
"\
A

i\
\.
qd
${
a*h.

s.#x
FJk
dp

2 of2

Y5ftrS4s

You might also like