0% found this document useful (0 votes)
79 views

DBMS Observation

Uploaded by

hemanth
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
79 views

DBMS Observation

Uploaded by

hemanth
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 36
Paap or UP) al cnate a tnbh to elon data with the by structure ancl constsotns 2 Altribulls numbels) Varteliat a 20 number(s): pumbet(3) number(3) number (3) ruber (B) numboi(s) number 6,2) char (10) unvre har 220) ConsreAins:- 2) Hts umber tolurn Oa vot alu hyd ad mill values b) student name sbouklnt be blank: Oueres:- )) ee 0 rods tu the above enti 1 doy in yell, Vornt , 18154 S34 55 en a ? Baotepre 7 9 caltwlale avenge works ave update “ti aug Colvin ' : : yy [ppdate Ves ea u po tf th. sludent ha scone @235 ine # sibicl ofhorwise Ou meas, : yptlate the ¢ “ol 18 che pl sh wp Ba Qistinclio/- hill? be (Pe and ay a Y > ahs Sirst class: should be pus ag > 60, ayy < IS suand c las should be pass avd ap > >s0;09<60 Wer lass shield ss oo 23h, og? fail- if thi ms is fail: vay Display all te words if itovks ‘nhl + Parnre te “niord af a “otal? joe voll 10 78 7. , 8 Make a ‘daphialin® of tobe a5) le. ne “ |9 bake wp spade coer) th sla hoes table . chense Ue table name, st ae aw. ae data “Prowedreres— a. | onal “be ttl marks ( vollip aw) Print. | Mame vances 2(%) wit ® db & numbir (a)y iN 52 number (3), i . $3 numberls), © 4 Sy number (3p. AG). nese SL OST newmbei (a), a P| : ht wuonbols, iL : avg number (6,9), 0° i Sue Pa yes chien Lop grade worn alee), . ae ad _ ; ry Sih insert into old: es frnlis, oes 5173 | ,Sr8s) values (iol, aru! 6 7, 89, 2995477); i Rew trated | al> Yisort tale std -rorksl, roll, vom, 31,8348, | $435) value 1b, ‘chine! 93,9996 45; 43173) Row criti. - * | 50k> insert gorto-std-runks [rollno, name, $/752488)1. ShrSs) yaluies(103,\Razr! 20, Sb I84 98, HOt ow treated Bh tnstot forte st maths [rlln0, name, 61 28 515s) vales[104, Raghic) 65 455 Ay B80 6)4 | How treated: 2 Scanned wth CamScanner BERS ATER sc Sel> ‘nsind into. stds Croll In nome» 511821837 5uy5,) eles (105 1" Lucky’ 1 H8y 83, 38,742,349): Low created gol tnsert into ste raaohs[tollra, name, reese 95) values (106, 'Ragha 1-85, 90,98 9414 28)¢ Hew treated Prep @ aul> #nsext tutp steaks roll, MAME Sir 828595 a 85) valves (tox; chtomel 96, 975 78/867 84y n- crtartec- . ' sol> prsird tube sl’ sreds [> walle, home, sirsayisy, b4rSc) vabuti[ te’, | Jutnma’y 87, By ibs WO Cw treated Sl> susent iho stheraxks Lalo Stat, S782, $2, Sse) values (10%, Yaris?!, Hy 87, 9540187); faa treated: Gol> trisent turf sthnioks(y sibs Hilt ; Sly $2, $3 ¢5Hy 8x) valus(Nb, tipo, , F684 781, su); How created: Select x fom sil d tl mans ‘ 5 ar name 3) S2]83 1 Su fol) Sanu | 67/87/98 | oH toa | chin 98| 99| 96 | 5° 03\ Ram | 224 &| 78) 98° 104 Raph bE | 45} 39} 93 ‘Aull ro (vam? — (sy Ky |S [Su | Ss ‘otal Aw |p, |, wos | tacky |b3 |s3[8s ]#7.)87 | — | — | og | Raghua| 45} 90 | 48 |44 1B we | chinna| a6 |saas]er | S# | ~ bes ung. | june | a| ga 76 [oo | 2] | or | yams? |46:| sala | 90 | SPP Pm " Jyothi H [87 | 78) 8 SH Peep aah AY dake 7 a sey 4 a nome | |S2, [$3] 54 sc|*olal Aig nlp wo) \sorn | 62] 89,) 98 | 4 [77 1385.) — “Seal og | chinnu | 9¢| 99} 96 | 9S | 43 | 370, ~ tT ) yz | Ram \s2 | se | 78| 98 |44 aot] ee » fom, [Raph fo] us] 39] a fee | 328 | ale We ely Nas | ss} ae | 97 fee 303 ff P| wg |Ragiva | 6s} 90| 98 | 94 | 78] #28 |S = od loz liolinna | 46] 82| a5 | 6] St] 880) — | = fos, | jeammee| sz far | 98 | 65/48) SFL) — = “| 0g | vamgi | 96| 87| 98 |90 |8F) 433) — | | lio | jyotht | a6 82 | 25] 98 | 4H 378 as ~ Ld 3)| caltulate eg ors and. phe i OY column: sab update ste-marks bob Scanned with CamScanner note $, ]So [53 [Su | Ss Tolal avg re grade Sant 67 {89 ] 48 | SHIFT) aes} aa]—- | — rhinne | 93} 99] 86 | Oo] Hs 330 lait | o Gam faa | so} as | 93] 44] o9e | 8) | ~ Rayl [os |ac] an [ae | 46] 36 fet | tuely 43 | sa} es | #7] 81] 303 [606)— | — nha ts] 9 | 4g | 94] 78] Hes pes) — | eliinva | 76 | 8? | 98 65 |SH| 880 |76.)- | ~ jun | a7] ag | 36 | ox 4S] 87! |) ~ | vost |e] sp | a8 [a0 par [4s8 | 84). — | yell | 6 | a7 Loa | a8 | sy]ans | al uparte st- 9) >= 35° and Gy>23s and 37 857 update yesull column sund 25 in all subjects otherwise fail ak pase’ $f shulert hes manks ged sul: \pass’ where $9.2 23S and 63 > 23 and peels Scanned wth CamScanner . [nanie S \S2. |83 su] 3¢| Talal aug res grade. To! | Sante .| 67] 89 | 98 | SH] 77 | B85 | RP, | Pass) — yo. | chinnu) qs |99 36| 9) 43) 320° | 74 |pass| - 103 |\Bam, |22\ 56 | 78 | 18) 44) 298 596 - toy \Rapha | 6s) us| a7 | a8) 66 ala 626 | Pass| - us | hooky | 43 | 53) 88 | 27) 37 | B03, | 606 Rae a Jo6 al 6s | 90.) 98 | 9% pass — 102 | chiang] 76: | 87) 98 | 6S Poss| — (05 | junay | 32.) 98.) 76 | 65 pass] 109 varst 26 | &?| 9 90 as r a | jyolt! | a6 | s3| 76 | 98 al | pet i only seb rafal tie 34 ashy $238 OF S238 ov SUz3S., 0 Ly “36 2357, a} Su} Ss_| "TEL Ava | Roll | wame_| Si So § wot | gonee | 67] 84 | 8 cu] a7] 398 | a |pmnl ~ 10a | ebavana 98) 92) 96 as | 43 ie ay |po) — | (08 | Qum | 92} Sb | 48] oH 298 | S46 Lou | Raghw} 6c} us] 32] 78 | 8° als [G26 Pas) — tos | utky | us | 53/8 97 | 3a [308 | 60°6| Pow) — vas | Soglen|arr| a0] ae) 9H | 7B S| SS boas} — or | china] 26) 8 | 98) 6S ch | ago | 76] Pau) tos | Juan] 834 98 | 76 bg fs] ae | ae 5 vee | Vorst | 95 | 87] 98] 99 | 8? 433° 83-6 fas — io | jyotht| 25] 7 #8 ae} SH 303 | 4546 | Pos] — | lupdate gid-morks 6b grade fstinction mS E | poture ves pass” and aug ae St | name | 61\62.| 65 | S/S ‘otal 409 i Rall: ro) | a! 64 8 I 199 | chtunu 103 flam ‘jos (0% Pgh 6S) tog | Wacky | 18 lob Pag of | 4 107 | obtnina 7 108} Junny EF oq \Varni |96 | 87 to yottt a 2 i ae! 94] 96| 95 | 43 290 | 7H | 98/48, 4e] 2ae [SHE 53] a8 | #41 8%)a03 [80% 9} 98 | SH) 27] B&O | FP 129} qs 66203 [O28 tia Pe etl pee ee = ‘Scanned with ComScanner pda eld masks Geb grow alt pam! a mA ave 2 yap # Roll Noe 6 Jor | Seema} 69 | 44 yo | cleivvay U8] A fom) HOW | Gogh los iva 106 | yoglna 109] elation fog) juan log Vawnul yell og “updal é 8, G2] oy, 103 29) sola Xs us bs + 67 76 a 8% Ag Me _ eo sit Moet. 67 dennu fae Rum | 22 106 | Quahyo | be | © 10a) ghana] 76 108 | WOnnu | gg \oq | Nowsi fgg WO] Ayodie | 6 Uy | Re i Us pos anol “ie ed Su Ss u Ue jus an Ve 7] Qu) 6S;,| 65 US 4 }40 | RA | WBE qe i Fir clea, “stun ‘stone. 60 and vg (#09) | Nolot [Ave WS f 270 At WH] 248 66/23 “BPs | B03, ae | Us Sh | Bo BH Sy 2ae grec Bee elas iitane, and avy ‘Scanned with ComScanner ad stl mak Sib graok = Third clown” vsti “nas ‘pox! anol ‘pees 2s, and a es —} Te | : Tot |A Pol | vome | $v S| 10 Vg us Grade 47 Wl | Sapna | 6 FF) BS [Pox . ua] 330 [EU | Po) stat Wo) daiwa | Oe 3 st | wi 34 tau} 24e] S06] = fe eu . on ite 66 [RS [626] Pot Hygh ter me We att| zoe 60-6 POM Haye re Yoga lo 35] tos] &C fo] dig ‘o> | ghana 36 sul ano|96 [oo] dt Lo}. Gunny | @>4 ust i 2h foul Het AOR | * Vow tag | | ea] uae] S48) Poy dict WO | Wyott a6 culsas aera tice updati Rol\ s Wo) \or ox You \ov (og \v> Loe F494 M0, Scanned wth CamScanner ee be Dtoply all the ruordt of std- meoky table guect * fom otd- manks ~ moke duplteation of tubk cs ish ti: Pronk sal> Credit abl stu-marks os sulect x fiom std- monks: i eT" ble couabed “al r 16 golect x from ehu-manks He - Soll | xome |e. [82 8 Bu |Sc Hot bAve tu eile goo | 6%] BA] AY/ SUL HA /3RS 25 | pus] dist og | 9% | 16) 4s]: U3 | B70 | HK | Peas inst (0! tog | Cnn { 103 | ROM ot! co] ae [98 lat | 2490] 4-6 tail| fae l (ou Raghu bc] us | 34 agles [3's [bre ix dest los} \ erl go lar] aul ae fos [BS |r dist in | ulema) } &E | a8] OS] SuyaRon | FE | MY dest 2} gtahnaler| av|asfesius far) Pe puss Hast aog |. gunna} $3], 88] FA] 2% 403 160-6 Pus) Linst wna | ynorts -7e [cea 48 | 20) 87 HSE [874 | dist uo yotlt aig) 8/16/75 SURE 3 gow | dist: Prep. d* (2) haa ae > crate Hi ustoviet tbh with the follows Fiudds and insert In recov» ¢ : 7g cusloner Lobh Abibules a0 atodype : toratralrah tno yurnber (6) Primary hy [pst vent yorchanalis)\ vse oc? fistnarte + yarchuet2 Lis) iProfir: 4 corect varuhora lo) | A phoneno | purl.) oo @) of Quite eGo lp list out full nome pf Yt. cusborey, las List oud the information of cusloggers gin wate ten gaciny that will displyy Custrnxs 9) Wit : “tngt nore “with the fast thus capitalised and all the other [etters . $1' (ower case ‘and “find te 1 Af custo poluwrt Tia he ‘of stastrinmae for all Sid name stant wtth Ops Procell juts all fable Gable uae 470, sraerbed 4 Yow jrsented- A YOW. 176 4 1008 inserted dw imerted - hols fonerl into Fro inwortedt: ge fraud: bnbo t 1 ow inser solr insinl inl cos fat \sl> two into custo ur insert into wah 4 row tnsente sb tnserb into earipe vidoes (i (io, agetll 129 a, ichinanac 098+ ls0l> insert. vata ~ sailor vals (10, 1 vow anuerded : ‘ custome ( tno iuerbe ko) : Ps firstname vorthar alis), fost nome mrchan alls), nea Varchan afis)y phone ‘mum ber Lid), 1 Panag ‘ye ra [wo so soir A vow enseorke d 4 bots insert foro me 108 ‘gai! Karly Woo ars sole treet 4 ad aslo voll sal! ‘haba’ atsaea) ity alon[ wy, Cuisine ‘veal, ' Ve 818510) “lan ot nit Gan we restsasny, La> fnsert orto scvutooter vals, Your! i ila Ws “sH9is) aren yells (vt Hoh Yyorral od, ‘aisassiea ‘0s, ‘sah, Pal ‘sal soc ner 615 “e9ssasish | ‘spl, gn g3se ulsua)s | | q | | | ‘Scanned with ComScanner dist out infamotion of custorrert SOL> selert “x font custorwy gro] Fiest name | [asbrame dena | phonevro vol Sanu By4 SBI G01 4 743 JU wa] Sai anh NGO |, g3asqan a! 03 | ° prohan | theta. Ne 913299 0049 lon | veshes.\|, .eordhar ’ 8985128163 or | vanttha | “bonne bi 7036328699 2 Ve | Asiatht ~ age Ig $1498 59163 0? | -tfanshini ko ood 7 | gisgssia6s vos shoal, Patan $B! 7.013 095 95F- 10% ee Boya e 2! QgBSSISROS 2 OL chin Boga” FUEBSYUIEH | st out He tnformation of paaee fo te gunn ite ; rob, 4 lone ative Wire > Str select &, from: Ges ono | Pirstname Caibuarte Ari Paani Taw | Sohal: |, Peleg | SBE. “) 701309845 F 09] Tyeth Boye “) ger aagiswar sos uo| chinna “Baya Lfei887,. ageaeuuden : L gle sdeet pistnome,: lastname. 4 a 1 fovrt suslarrang SMO. [ parstrome Latnane we ‘ Wanths 03 yy je i lee wo lecdheg 108 banne* 0 Hewitt Wee ; Wirakagala “|nt tenshin? Yearg...; 108 Sohal eee. ds 09 Gyothr es es uo Chine Scanned wth CamScanner BON (3) A a vend Sabb with the followin “hs and travel 40 ruords ite ot : wll : ~ tumber() Vanchan ais) varchar eliE) 1 Yarcharnalle) veers) i Guetis - ‘ 1) ‘Disp a He , sedomatn’ ‘ay ily D bist Be detail of ‘Vendy, Vaart, , pipet Me Verrdor debath for fee rrnber 1) Gell He vendl Pr He EO prunbor: { Wy fable veneloo lune nuonber [es “Vaame Varela alts), vanclri 2 fis), vacre acral), oil silk voorc/iar2 2 (10)y Pray Aap aaclelsiess CJabhe ovahe: . sale invert inl weer voluty /1o1,'sane, ‘50's NOL’, 10”) 5 1 yaw jusoilecl ' wht t SOL> Faber! into vonelev valtut (hoe, china! ‘Noo! 'NDL) we} : 4 yu Puserted . 4 ths fruerd. suly vevdby vials] ns, teat! av’, wou’, AP); 1 yow priser - : A Ral sal> insert tito vevicby Va 4 vow insededs : soto dusent 41l0 Venlo vals [105 Raghet te’, NOk's 'AP'); 41 vow suserted Wl> jnserd into veraolov veluss[t06, chbanat ‘kel, WO’, ‘aes 1 pow inserted - Blo art into yeudor “4 you svaerted- leou> inserd. tld vavalor vals ns, they ga’, wo 4P)3 J ww inserteel: sol> insert into ver + vals (009, 'yaonsit, ro , WO, WP’); 4 Yow jmunted- ‘sole sasert tnt condor ves [101 yeh 2 100 dusorted Diely all fe — ; uy (lorry Ram’, 1801, NOM’, 1AP); vols (197, jum’, GB! noe!) BPD; ' 1 IML WOM! 4 APDe ye fi fs, gir seed ¥ frovnt vevidew 5 ; ire [ Myanaae. ll Yod tly dabSe I Sat SBI NbL Apt a chin} Nbo Nok AP a Sar Be dL AP eo y Fam | 88 NOL Ap ss Ov Raglra NB vad MOL AP 6 chinna kB ND AP 2 jurul - WB exe fs, NOE AP Jog [+ duchy | 884. | MPA “r | 4 Vamsi | Zo NOL van i in| gyothix| MA NOK Te t sa 2” List the. debash 4 Vao 4 Varnes, | sol> Selecl Vio, Vrame trom Vendy; P Vino | _ Vname ‘4 Sart dk * chénne ih ily 5 6 2 8 ae lo nog -4 mumben sol ect ¥ from eros Vino 7H * 3) List: lhe Vereles detath ae he ghey ce Vio | Vname add l ‘ty 7 IL 4 | Kam E ser | Nob i: Ap L) Ouleh He vides foe fhe give Hanke Yio I Vaart | adds | ay stale | 41 | Sem 8@s KO! Ap 2 chiantt eyo? "Wok AOD KS bar “Be NOL AP 4 Rant 5B por | 1 Ae s Raghat NB Nod Ap 6 chinna AB NOL ad 2 Junni 4B MOL Ap x tach BES NOL 9 peat 7™™ Nob Ap Luo ¢ | ne wor _|_AP ra “@. ‘Scanned with ComScanner 0 | BaF te) eee (alt 4 sales cud thin tabla wilh followig’ fuld and fwaerl 10 mead inty table y Stim Lable Addyibut | Delabype | ': popsbretnh Plonno number) | Prmay hy Himname | Yartharalh ihn tppe varchar als) oi @ AN ay © | ptnber lio) e - ¥ ill , nuwbvilre)), ; A. ; iy}. fale ober wa | Méihuda |, Golelpe | lanrbabes “tlio | number Leo) | sprite ay | ss thnnume, <) veithan ela). / manly : one | oie hare Ako | Mowe de Mu v0-of of Q ‘ewe rm ih po Me wap, sale be dic sal fron a 3 Medea Ye "bitin | el dhimme, OY Prtedwur- mana triaht table slom(# Jeno wunboil6, a qe. flonnanie vnathe ‘an dls), 5 dann Hontype Varclior AS)? i wo . number la), ‘ wi pumbur(t0.a), fgiatcs Ta abl create if sbt> insert inh t ‘ent mle ponds’ Yale pour ‘5 + 20); JL Yow jusexted > furd indy ton dalalise tide ‘ord 10; 190); S-rw inserted. Lsil> inl inf them values (203, gui ‘ "al ite a Drow. fasted: sal iusend th flea vlan, ‘poude' t tram ‘i; is; 4 row insortedl. ° leel> fusert Suto thera vii lus,' ver? Peofure, F800)s Sulecl * fom im; Ftemrof themnane. itenbype L Hy yale tl | ponds —| talepouder | | ap be tide set. | ty 103 Fasmine . atl ok e ‘ 220 lol) ponds | tram | yy * | sey" nes [ denver Pen fume z Xo ? cra a sill hana Pas thin, Scanned wth Camscanner Pe ee be ag : iW number (0), daefsale varthan alia), vinof.sule Vowrchar 2 (10))s Gabh cvtaled: lye ined inh sale velass (ot, ‘ypulee' S, \asfroare se 4 row inserted: spl susurt into gals volun [i005 elo | by, 1/a [r0a1 8: 4 vow tnsuriedl- ‘ pls tvtserd into Salt valu (03, ‘ahole’, 5, afoal,'s 1 Yow insentect- alel # fom sale; ! Oubofsabe | nteofsale x | oman Hvnanne oy ni tyetex S| P/s/e0a/ Ii titan a ¢/0/zeil x Ss 3 | colgate o/fadl & ibs play roefsales frown sal: Prag | wl> Mick noofsab from sales; NOOF SALE : © 3 £ )Oispl rioofoals , Qabof sabes trom cals \ a> ck dakofal, neefale fom salu; | 7/3/20a) 8/9/ 20a) afafaer) 3) ey fu tufsmation about ttnno, sn dake sab , roofsal from sales S0Lz ee thunnd, oe hoofsal ro al afafeoa! 8/4/02] a fy feel Yo jorile a plisok Provan h thee nnmbots amid (é \ phon Jind Ue gredat g - see Ot A -a MOP @ ‘Scanned wih ComScanner decla ve a umber s =l0; bh muntbor s > 18 C mumbur +712; lupin if a>b and a>o then a dbrns_ output: put. hae (Greabst vurnbor is'/a), tlse if boa | and b>c then olbyns_outoub.put_line (‘Grealat imuribor 15 Uh); thse = dbs .oudpul,put-linel ‘Grealest number is Ie); ond ify : ‘end; Preece a ‘ | | | | | | | quipats Greatest numbo. i 18 slalenent processed: Od ‘Scanned with ComScanner Progase kt) “ wrile a pl/son Proproon fo sump Lio sty se Opec dleclave A num; a b number; aa? 4 temp number; eed : begin eis ; bis 10; \ dmg - output: put-line (\ Before Swapping ); dors ouput: pul-line ('a=' fall 'b2"1b): emp tz a; : a= bj : | biz hemp; : dhs utpub. pul-ltae (‘After Sunpping ')s dbmsQutpul- put-line('o-! fall ‘b>’ 11h); ond; , 6) Output: “Be fare susupping a=IS - bzlo After swcoppig? A=10 bas Stale ot prowssed. \ £4 uA i at ye Sa . J ‘Scanned with ComScanner Pyege Rin (4 Progrgcs H(t wortle a pllsor code block Lo pimrte tre. § thovvacee 5evies ‘Scanned with ComScanner Dro redwuty >. | wee ' diclane a vimiber += |b; b number bolas temp umber; 1 tumbers= 10; i umber; "begin Ibe. Output. pul Lae(‘fibonacct Series Is s dhms_ Outpul- pul Live (a); dh ns Buspul- i fine (b); don; in a- Loop ; e ab Lemp := a+b; as iy biz =hmp; dbms- Bulge putline [tomp )y ond. loop; end, 4 VV . 2S a. Fiboracc? Gentes 85 + 10 12 92 34 / ace <6 ae 90. 1H6 926 382 618 1000 Shalem nt processed . ‘Scanned with ComScanner Deyo a \) Write a pl {sok Program for palin come. Yiu ‘Scanned with ComScanner glee lone ul number; m number; dump number $204 sem umber; begin yicl23alt mien} ach utile nd we \ inp © nemee mod (1-10); temps? (emp lo) trem; nes = dranc(n/w); ‘ ond loop ; if metemP then. dbms- butput- put- fine( Number #8 pobribore) ‘ole dymni- butout- pu [hye [ ‘Number % yt pabtndboe) ent it} ee ne; “pape: - jinnban 78 pabridvme 5 tatvment processed ‘Scanned with ComScanner og Qb721 EF NO) toile a ph/soe Programe to pant pyramid ‘Scanned with ComScanner Procedlurer glee 7e : eed : a vv numbeti= St ? rumbey d nunbey; buyin $i for Pin deel “Ww a - fy fin tut : loop dns oudput- put (' 4; “ad bop; ols output. vbw bine: end {oop ; : end; bp} utp A & b bok eo ‘Scanned with ComScanner

You might also like