Term 2 CS Practical File - SQL
October 4, 2022 | Author: Anonymous | Category: N/A
Short Description
Download Term 2 CS Practical File - SQL...
Description
Oi.
^remtdmec
0 :
Uujrdjs ]jt 5 (@etehesj Ajtmbdog rjmir`s) Uujrdjs ]jt 8 (Hesj` io Auomtdios)
1
Uujrdjs ]jt = (@@C Milleo`s)
7
Uujrdjs sjt 0 (Hesj` io Pwi Pehcjs)
2
Uujrdjs ]jt : (Griup hy , Ir`jr Hy)
@etj
]dgoeturj
^ert
sqc qujrdjs
5. Miosd`jr tbj aicciwdog LIQDJ tehcj eo` wrdtj tbj ]UC qujrdjs hesj` io dt. LivdjYD@
LivdjOelj
Pypj
Xjcjesj@etj
^ri`umtdioMist
HusdojssMist
L>>5
Pbj Kesbldr Adcjs
Emtdio
8>88/>5/81
580:>>>
5=>>>>>
L>>8 L>>=
Ettemk Ciiip Cepjte
Emtdio Pbrdccjr
8>88/>5/82 8>88/>8/>5
558>>>> 8:>>>>
58:>>>> =>>>>>
L>>0
He`bed @i
@rele
8>88/>8/>0
78>>>>
12>>>
L>>:
]beheesb Ldtbu
Hdigrepby
8>88/>8/>0
5>>>>>>
2>>>>>
L>>1
Gjbredyeeo
Xileomj
8>88/>8/55
5:>>>>
58>>>>
e) @dspcey ecc doairletdio aril livdj. h) @dspcey tbj typj ia livdjs. m) @dspcey livdjd`, livdjoelj, titecYjreodog hy sbiwdog tbj husdojss `ioj hy tbj livdjs. Mcemucetj tbj husdojss `ioj hy livdj usdog tbj sul ia pri`umtdiomist eo` husdojssmist. `) @dspcey livdjd`, livdjoelj eo` pri`umtdiomist air ecc livdjs wdtb pri`umtdiomist grjetjr tbeto 5:>>>> eo` e o` cjss tbeo 5>>>>>>. j) @dspcey tbj livdj ia typj emtdio eo` rileomj. a) @dspcey tbj cdst ia livdjs wbdmb erj gidog ti rjcjesj do Ajhruery, 8>88. Eoswjrs6 e) sjcjmt sjcjmt * aril livdj;
h)
m)
sjcjmt `dstdomt aril e livdj;
sjcjmt livdjd`, livdjoelj, pri`umtdiomist + husdojssmist "titec jerodog" aril livdj;
sjcjmt `) sjcjmt
livdjYd`,livdjoelj, pri`umtdiomist aril livdj wbjrj pri`umst ds ?5:>>>> eo` 35>>>>>>;
j) sjcjmt
livdjoelj aril livdj wbjrj typj
5
8
5>7
4=
L8
8>85/58/85
=
0
5:1
5:2
L= L0
8>85/58/88 8>85/58/8=
5 8
= 0
21 1:
25 17
L:
8>85/58/80
5
0
:8
22
L1
8>85/58/8:
8
=
47
12
Eoswjrs6
e) mrjetj `etehesj spirts;
h) Mrjetdog tehcj wdtb tbj gdvjo spjmdadmetdio mrjetj tehcj tjel -? (tjeld` dot(5), -? tjeloelj vermber(5>), prdlery kjy(tjeld`)); m) `jsm tjel;
Dosjrtdog `ete6
•
lqsqc? dosjrt doti tjel -? vecujs(5,'Pjbcke');
]biw ]biw tbj miotjot ia tehcj - tjel6
•
sjcjmt * aril tjel;
Mrjetdog eoitbjr tehcj6
•
mrjetj tehcj letmbY`jtedcs -? (letmbd` vermber(8) prdlery kjy, -? letmb`etj `etj, -? adrsttjeld` dot(5) rjajrjomjs tjel(tjeld`), -? sjmio`tjeld` dot(5) rjajrjomjs tjel(tjeld`), -? adrsttjelsmirj dot(=), -? sjmio`tjelsmirj dot(=));
0. Wrdtj aicciwdog qujrdjs6 e) @dspcey tbj letmbd`, tjeld`, tjelsmirj wbismirj` lirj tbeo 7> do adrst dodog eciog wdtb tjel oelj. h) @dspcey letmbd`, tjeloelj eo` sjmio`tjelsmirj hjtwjjo 5>> ti 51>. m) @dspcey letmbd`, tjeloeljs eciog wdtb letmb`etjs. `) @dspcey uodquj tjel oeljs j) @dspcey letmbd` eo` letmb`etj pceyj` hy Eoe`bd eo` ]bedceh. Eoswjrs6 e) sjcjmt sjcjmt letmbY`jtedcs.le letmbY`jtedcs.letmbd`, tmbd`, letmbY`jtedcs. letmbY`jtedcs.adrsttjeld`, adrsttjeld`, tjel.tjeloelj,letmbY`jtedcs.adr tjel.tjeloelj,l etmbY`jtedcs.adrsttjelsmirj sttjelsmirj aril letmbY`jtedcs, tjel wbjrj letmbY`jtedcs.adrsttjeld` < tjel.tjeld` eo` letmbY`jtedcs.a letmbY`jtedcs.adrst drst
h) sjcjmt sjcjmt letmbY`jtedcs. letmbY`jtedcs.letmbd`, letmbd`, letmbY`jtedcs.a letmbY`jtedcs.adrsttjeld`, drsttjeld`, tjel.tjeloelj,letmbY`jtedcs.adrs tjel.tjeloelj,le tmbY`jtedcs.adrsttjelsmirj ttjelsmirj aril letmbY`jtedcs, tjel wbjrj letmbY`jtedcs.adrsttjeld` < tjel.tjeld` eo` letmbY`jtedcs.ad letmbY`jtedcs.adrsttjelsmirj?7>; rsttjelsmirj?7>;
m) sjcjmt sjcjmt letmbd`, tjeloelj, adrsttjeld`, sjmio`tjeld`, letmb`etj aril letmbY`jtedcs, tjel wbjrj letmbY`jtedcs.adrsttjeld` letmbY`jtedcs.ad rsttjeld` < tjel.tjeld`;
`) sjcjmt sjcjmt `dstdomt(tjeloelj) aril letmbY`jtedcs, tjel wbjrj letmbY`jtedcs.adrsttjeld` letmbY`jtedcs.ad rsttjeld` < tjel.tjeld`;
j) sjcjmt sjcjmt letmbd`,letmb`etj aril letmbY`jtedcs, tjel wbjrj letmbY`jtedcs.adrsttjeld` < tjel.tjeld` eo` letmbY`jtedcs.adrsttjeld` tjel.tjeloelj do ('Eeo`bd',']bed ('Eeo`bd',']bedceh'); ceh');
:. Miosd`jr tbj aicciwdog tehcj eo` wrdtj tbj qujrdjs6 qujrdjs6 dtjloi
dtjl
`mi`j
qty
uodtprdmj
stimk`etj
]>>:
Heccpjo
5>8
5>>
5>
8>52/>0/88
]>>=
Gjc ^jo
5>5
5:>
5:
8>52/>=/52
]>>8
^jomdc
5>8
58:
:
8>52/>8/8:
]>>1
Jresjr
5>5
8>>
=
8>52/>5/58
]>>5
]berpojr
5>=
85>
:
8>52/>1/55
]>>0 Milpess 5>8 1> =: 8>52/>:/5> ]>>4 E0 ^epjrs 5>8 51> : 8>52/>7/57 e) @dspcey ecc tbj dtjls do tbj esmjo`dog ir`jr ia stimk`etj. h) @dspcey lexdlul prdmj ia dtjls air jemb `jecjr do`dvd`ueccy es pjr `mi`j aril stimk. m) @dspcey ecc tbj dtjls do `jsmjo`dog ir`jrs ia dtjloeljs. `) @dspcey evjregj prdmj ia dtjls air jemb `jecjr do`dvd`ueccy es pjr `imj aril stimk wbdmb evjrgej prdmj ds lirj tbeo :. j) @ddspcey tbj sul ia queotdty air jemb `mi`j. Eoswjrs6 e) sjcjmt * aril stimk ir`jr hy stimk`etj;
h)
sjcjmt `mi`j,lex(uodtpr `mi`j,lex(uodtprdmj) dmj) aril stimk griup hy mi`j;
m) sjcjmt * aril stimk ir`jr hy dtjl `jsm;
`) sjcjmt sjcjmt `mi`j,evg(uodtprdmj) `mi`j,evg(uodtprdmj) aril stimk griup hy `mi`j bevdog evg(uodtprdmj) evg(uodtprdmj)?:; ?:;
j) sjcjmt `mi`j,sul(qty) aril stimk griup hy `mi`j;
View more...
Comments