DBMS assignment
DBMS assignment
Sec - A
NoT NVLL
- No tuD tpls
p9inny key attoi buute
}os the
relatanal algeba?
2ushat ü atlectien creat'en in
n eltien at satisfy a
reticne tiaws trem a
to
seleet oal 'steslents
edde tanl&.
Cemnad u sQLa
3.short nates en SeLE CT
sed to trie e eala femn ene o
cemand is
gles he StLECT
tabls u) a database . tt
allws wses p syeity
vieuo 2 Can clude cendities
uchich celns to BY moe
oith oRDE K
WHER E, corting
seLECT ncune, age
CROm studrts.
cn SQL
4- Shortatus on CoUNTA) Cemnend
ChsThe coUNT C) unctins rcetuns the total eber
ef
Ows n a tale incducig tuese ith NUl values
En- SeLET CoUNT( *)'FRoM studens)
Sectien-B
CaleulwslTRe)
(i) Tuple Relatiaal
whee t tuple
En- t|EEsTUENTNsk so .
Ctucent tebleSral naS-mak
Jehn
3 Priya
Sneha
hiy
(ii2 DRC CDemain Relatieal Calculcse
domain vaniables that take vals foem fielos
.Uses
Cattibutes).
7<s2...2n>l cani tie ( ,
" Synta -
4ROVP BY dspantment;inlga
See-c
(ejguarentaid
access
|vo\Comprehunstw Kub-language
Jt is the advant age to wndutand deti, defiitior
wndvtndlable mane.
JMeciication dens en
|(xSatgnity Jdepundune
4datibae muut be undeendent o tt pltcatioa
antant that can oe ucepndal
(Diutibution dnderendent
Lhe ends mt met able to see Hhat te
data a clist buted aucn aleus loatiens d
nfeutientat
data is locat ed only Dn siole.
iNon- vesten u l e b
i the sytem hw an steyae ttat ienide
i must et able to ubvet the yatem 4
bypas Hhe wnity itegity constiaunts.
dCeate a STUDENT Lable usith athribute Soll,
Sname, Saddr, Smaxk 2tem NSERT y
DELeTE, UPOATE oreation .
cnsCreat'ng th STUDEN Table -
Delete Op eratie
DELET E trsm Studet
WHEK E Sral= 3)
Lrthis uiu delete Hu ree od estolet itk Srsll 53
Chael'e 0