Theory of Computation
Theory of Computation
Theory of Computation
Assignment = 2 Date
Enxollement No 19018010
104056
FTimaryY
1.DofineSupeK Ke Cndidute Key amd
AtenateK e y
(3AHemod Key is
A (andidwde Ky thcd not
Emplayee_
Emp ID Name1 Dept SalaryL
101 Niles h_ Sales 000Q
402 Muyus HR 250000
103 Haxdik HR J5000O
2 e c t i o n Opaseto
Lisp
of lay xal na, naae af SPI cf al
2Tple
Student
otro ameSPTsona Stelerdt
R1*
Qtput Studet
Roll no NamoSPT
Aa Tuplay6-
Ra
02 Mpet
lo3 Haxch
lo Pumit
Ra2
3 Coaxtejiam_Podut_Llxoss Rraduet
Oymba X (coss)
Notution Relation-1 (Rai)X Rolatim-2 (R2
Opexatiam Ttil mu tiplyaiRALh uple
at Relation 40 eauhtupleg dt
Peluton-2. 06D
Atributeof0 f Reulttunt Relutio
Attxibt ofR+ AHxibudy af Ra
of Regulta Rolution uple
OudesJon
Opooong In natux jaisame KeCrd
OR Missiny- we ant that mìssîn
huweto e uteYjain
ecord thun
Dete
Frge6
A NB
A LAg R
Num Squre Nurm Cube Num Squg Cube
2 S 2
16
39
A D B
RiyOuwtev
(A Join
A BB
Nun CLubeSquso
2
A B
Num Squxe Cub&
2
An Outejain
jain_dnemt equjreecu
Yecosd i n t h e t u0jaimiahigs
0 +o_ha
C A.otchimq XLCOxd
(6 Re name OpeSotoY_
Symho p (Rho)
Notation ACXL x2Xn) Reltion)
Opexation The xenam apexato tusns an
isting 1 selutio umdex C nea mamno
Haw
p x (E)
Ketuxns a xelatton_E umdex a nR
A1, A2 AN CE).
Reu G elution E undRy Ci ne Mamae
Tenmed to
A1 A2 An
Student
Rno Novme SPT
101 Raj-
02 Maet
PeLso(Student
RmoNameCPT
lo Ra
0 2 Met
103 a h
Date
Pege
Student
Roll mo Stude Namecp1
loi Raj
M20
SuRh
6 DNisia Opaxatoxl
Symbol
Student
Rno Name Technalogy| Pxopect
l o Raj NET- TID echnalogy
lo Raj 1phone NET-
jo2 Meet NET 2 PHP
J02 Meet PHP 3
IPhome
lo2 M e2 t i Phone Androd
lo2 Meet Andxoid
lo3 Viicuy PHP datputE
Jay NET Name2
loy Jay PHP Meet
lo iPhone Jo
lo Ja Android
Symbol g os G
Notation q tum ction ncme Ccolumn)
CRelution.
Opexatioms It tuke C mor thano e
Value a input anc eturnS C
Outpt
SU m_
w Min (SHudeat)
6 CouwndCCeT)Min (Student)_
Ou ptat Outpud
Cout max
Considexthe folloinq elationa dukubase
Cheye he pximaxy_KeySex Undeslbaed
eipLSSioa i the xaludion a
alyebxa toRXpsa eaehat h e folloti9
iNalue quxie
aamtPnemeemplay.a rgect)
oP
T.
lpnone- Oncaame= Rajuh Kumay pA (WoYks Om)_
(Proj.e+) aployA
eaploye@ ho5upeVise
hems g -
snaYte Ossm SupesSS (Employee
Dole
uge
5 SA Cansldex he fullawincnelutin.
dudabae Ldhex ha pslma iy-kys
aseundeslined. Givesa
CneLpseISia.
the Ulitiomcl alaebra-
-Qth ar heollatbmgquexig
iAstruutas
in fhe physîcs depaxt ment
Thame titteOd@ptnuma-Coap-SC
instrcLctox teulhes corse)
Salary n_euehdegartmend
dept -name l dercy (salay Lintutto
Exexcise-1
Exercise-2
02 Meet
lo3 Haxsh
Punit
Nammo o a_Studenti
3 Dis play-
CsHuden
Date
Page
Xx cike 3
Wslto celuttonal algebxai o tobl
1 Studant (Rno,Saamé Addrags ciHMcbile
Addxrs
Roll No0 Cty Mabile
Sándip Adaxsh Surc 93226ruj
lo 2 Divyeshh Sama ladedcaxu Yl23s431E
DeDepcostment
Did DnamQ
3 CE
Electiul
3 Acadmic
Did SPT CPI
3 Baokog
l02
uldo
PnunNMe Etd
Domth 20
o2 Avmeet 202
Date
Page 2 0 C
FoLulty-
Fid Suejet id Salay
Pah oasd
202 ay EC
Students with
heix dspactment nam c
student belonop toCEdepxtment
W t e down elatianaalgabxa
to fallati tabl
3 d mam Street cd t of
Kesid!ncg qlemp loyreg ho
uok fox Tatosys"and
mox
L0400o
TIpe soM mcme ctiRA) .(OCm player,peden Ya-
woiKi PL<SON nom e AN DdgdarySlocoo
PS AND_Canmpan nanao Tntoys