0 ratings0% found this document useful (0 votes) 128 views42 pagesDMS Solved Mannual
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
SSSessese es SSSCE ESS SE
Database Managernent System (22319)
X. — Precautior
J) AIISQL statements must end with a semicolon (3)
ji) Follow safety practices.
XI. Resources used:
Specification
'S. No] Name of Resource
T | Computer System Tone a, BPAY
with broad specifications
2 | Software Aw fis. access 2013.
3 | Any other resource used Google chrome.
xu. es
XII Practical Related Questions:
Note: Below given are few sumple questions for reference. Teachers must design
more such questions so as to ensure the achievement of identified CO.
(Note: Use Point VIII to X and XUI to XV for all relevant programming exercise.
Use blank pages provided or attach more pages if needed.)
1. Name the types of GUI databases available in your laboratory.
2. Write down the procedure for creating tables in a database.
3, Name open source SQL database management system.
[Space for Answers}
oot. & OO
Lclick..Site. dmrveuaa...cbial
Name. Ser... Nes
3 (Cu. AACNE..... HOX g-Aay PE...0. (i
eile r ASA. Craver capa
AAo..onomseos...do...Aiteaeat.. slo. ‘Sane.dne
etar..base... .CLicle5. netra...floder..cam:
WMW.che\s...caece...¢.lbe...neu..cevabase G0
pamec.... dabled....ts. CHENG oul. OPE ;
Sheed.
Malarashiva State Bond of Technical Fduention
3one
Ms
yusop paints Snes 2438 poses Bessou tp tog
Minnie run sn BGO. SOHTES gHANG 40 SSSI? ep
ue {uo eno APN ONT VHIMO ENT #36 208 WHET
soges jap 68 24ieu 9IR09 BSE
9) AQ
patos 20159 29089
“ popoou yy esind > pen 36 pops se ur
viotona unes8o e899 HOL AN OVX PEN OHTA HO 381) AVON
doywoqy 94) oy $70 OL 2-0 yon HENS OHPeD! puE TO AdUOMY,
aged AIX
xa} womepge a ue oy one 4288 2 SENAY
puns nau epee to A 8307 One SIP HIP EEN
viyes dun ayy saan pw Reena vos a Aes HAY
“padi p my sao anyea Nowe Fan Fon 0-- PV OF
eu
yur wn anys Hanoy amp 30 Psd ve POC
rg aoy come pit pos snow 919 NDE.
popoou ysl sus ru a9 pope ated 90
sounsoxa yunseiton MesS EIEIO] AX 8
ay mofo fo onessan0 ra
aap nm sesinay samecnsfe sof snc phen of 009
myyaney aSur — [Sunn Csaunes). :
1 £0,000
2 60,000
3 - Z 43,000
_ Jo BIN PE-
Derielo rer
_esters —__
30 tt _Lrtenrkene
lo Develo percCastes o_@ncryo* —ustth pagsinead
onc) ven G_ne _Sassunts !pauubase Management Systent (22319)
4) Lopem.... Sedstsase..click...dn..cerlakae..leol
FPS CMCM......0.0... eCncaypl.wudh passuramd
A). Bateor..wanty..LaaI
use WI] Press OK
XV References / Suggestions for further Reading:
1. hep
2.
howd... Yau toast do
passo.cucad.
‘cn. tekstenuitleg neV/articles/software/access-validation-nule-tutorial
hup/allenbrowne.com/ValidavionRule.himl
XVI Assessment Scheme:
Performance indicators Weightage
Process related (15 Marks) 60%
1, | Formation of MS Access Code 25%
2, _ | Execution of MS Access Code 25%
3. | Follow ethical practices. 10%
Product related (10 Marks)
4. | Correctness of MS Access Code
5. Timely Submission of Practical
6. | Answer to sample questions 10%
Total (25 Marks) 1e0%
List of Student Team Members
' Chougeate... PTaMiN..
2 Rea kale Abray...
3} Shendund ArS\AY on
Dated signature
of Teacher
‘Total(25)ow &
ee ae
os y
es x Wivatwed ane clenivel cli
es \ waiioal orien
oe 1 clixibye =
fer lt
| Experiments ot wy
[2a
a fl Sesiued ainda =
ie There ore ne multivalued ctloeihude
ions for F-R Diagram
Nettetse using INF 2NF and 3NF
Mt
TT
— ‘Speciation
Tater ee CAD VS
erocie.
a wed
Twas aIx,
XI.
xu.
Result
Resow
[Sr. | 7
or A as
| gix00g, envy
2 - a
7 aa dy 15-008
i iy]a_svaung—ertity
| lung _exitance-does—
pol__clepend.ao olhen
Precaul
1 Use = _ _ am —
5 ro) A Shong Gality 1s cl
Resoure wouys hos. primary \kex
Iget of albibuie Ane
clesribe _Strang_entily |
{ts clenatecd
Relation helween § trong
entity 85 inotect by g
leak entity one | lt
extiance cl lepend oq!
own ersendity
nm
a clas siaen'l primey,
Mon _endity Ly Con nel
Hiursicyiiels) — Gdendify by.
Sg oly Ueripde
—_—_
IA Ye _cenotec boy E
Relation een le
entity q__clenaled bii ~Pussangen
“1. Boning... alice. ——
Cede ~Pamery.laey. |
x a -
‘Niort Sate Board ol Teil TocaarXI, Resources uses
S.No] Name of Resource Specification
T | CompiterSysiem (CSE TS, Para GEG
veh broad speeifiations
7 [Sofware TS. Occess 2013
3 | Any oiher resource used
Google chrome
XI. Result (Output of the SQL. Commands):
XIII, Practical Related Questions: ornefernce Teach
Note: Betow given are few sample questions for reference. Teacher must
design more such questions 0 as fo ensure the achievement of identified CO.
(Note: Use Point VII to X and XIII to XV forall relevant programming exercise
use blank pages provided or attach more pages if needed.)
1. Create a table EMPLOYEE with following schema:
Emptmp_no as primary hey, E_name,, Dept_no, Dept_name,Job_id. Salary)
2 Create a tables EMPLOYEE and DEPARTMENT with following
schema by applying Primary key and Foreign key
Euptempno as primary key ,empname, salary. pho)
Depitdeptoo primary key. empno foreign key, depiname.location)
‘Theory Questions:
(1) List DDL Commands with syntax,
2) Use of Deseribe Command,
©) Analyze the difference between drop & truncate
(Space for answers)
J Bueny =) : te
smn COrOeae..cet be
empoiel..oumbenn
RmP—mame.... wamcheun..C.20).;,
EmPmdept..No..Aumlaee.
Rmpectent...oame..rmiarhan. le.
“Lemp Jab... Nu ooksec. - _
SMP... Saloms.nevenb-ee : :
Sraplager 5
Wao
“Maharashtra Sate Board of TeeinicayT cacao
OveGbbuUUE
o
aO77AAMAAAA ON NH OOOH
dddvnvue
Nam
Rollacscr| 7
yeu
oy he 54
fot |
_ dese “jable name ,
Theory Guestion = ——
@5 use to delete
mecusd {reco toble
DDL Cummond — ove as fetter —
Sj create “ a
Creade Aable—dablename ——
j
i) Syntace = -—
dao ncaste—Asbie——
_Anle\ename—
Col 1 dudetype CSize),
Cel 1 dadatype Co 22), 4
5 Coin dadabose Csi2e) —
GJ alier -Guery 40 odd_columa fod
alters dable.
dable nome
oda Celumnarre ddotype
Wy) chop - ~-
olen table —loblenéme -
drop Column Cel nome
is) Tename =,
Oller Jable dable name
Réneme Io Mew name
Suey
siliewdabie Sia
foal mE oa Snes
“Selec Y from Stud oo
shese Juble name.piom ~
stare 25
ee
Quers
Cacate grtae Siu
ph epsias pies vey?
(ne),
checks
pol. Ae cons\o"
giudnaere von hae
pescemieags qurabes
eset)
CpeacemesGy Reference
“ ee wischooLcom
NXVL Assessment ‘Scheme:
Weightage
Suggestions
Performance indicators
Process related (15 Marks)
SGiation of MS Access Code 25%
Fi
1
3 | Follow ethical practices
40%
Product related (10 Marks)
Exasution of MS Access Code
@ | Amswerto sample questions
Total (25 Marks)
List of Students Team Members
P Choagale arcana
2 Rovkete Atiwran
Marks Obtained Dated signature
[“Freeat T Rone of Teacher
| Related(ts)
Relatedaigy | Petals)ns
CEU ae
S.No] Name of Resource © Specifieat
Vac » PA 4 GB
1 | Computer §
with broad specifications
Software
OR cl
3° | Any other resource used
NUL Result (Output of the Executed Queries):
NII. Practical Related Questions:
Note: Below given are few saniple questions for reference. Teacher must
design more such questions so as to ensure the achievement of identified CO.
(Note: Use Point VIII to X and XIII to XV for all relevant programming e
use blank pages provided or attach more pages if needed.)
1. Create a table EMPLOYEE with following schema
Emp(Emp_no. . Dept_no, Dept_nuametob_id. Salary.hiredate)
2. Insert multiple rows in the above table Emp using single INSERT command of SQL
3. Execute the following queries debug the errors and! write the output
a. Insert into
Emyp(Emp_no,£_name,Dept_no,Dept_nameJob_id.Salary.hiredate)
Values(1,Shreyas’,100,Sales.111,40000,"28-09-2014"),
b. Delete Emp where E_name=Shreyas;
c. Update set salary ~50000 where dept_no=production
d._ Select * from where salary >=25000 and <=60000
‘Theory Question:
(iyAnalyze the difference between drop & delete
(2)How to delete multiple records?
G)Mention TRUE/PALSE. Justily "After ‘drop table", the struetire of the database
remain same”
(Space for answers)
Corenle...... Ja ble... . employee «. searemanns :
PO Pr AQ ALLO DET»
LO Rm AMUN Meuare:
AO. AM bere,
ACAD. AIM Con Mover C0.
oh = la)... munabecs ;
Svasy OUumbes
‘Maharashia State Board of Technical Uducati
hivedade dole
Jae 2) oo
ysoue
Bop een Sonam]. depla ne... stepl-name...jcb 3
wo Gad....clerdor or ee aa G 3
” ~ °
: . 7 aS
Bempano..&naene. clep.no...deptowore:..febial...Sa. hnekde c| ;
. ‘ro . “thin ©
Q Dae NPIS. Aa renee nel St 4
oo oe Pooh Tallycian, 0%. 5 Tia ty ely
ios ER BS NCI nO 30 Tela g
. |
1
XIV. Exercise: .
‘Attempt QL. and Q. 2 from the following:
(Note: Use Point VIII X and XIII to XV for all relevant programming exercise
tise blank pages provided or attach more pages if needed.)
oadd
u
1. Create a table EMPLOYEE with following schema:
Emp(Emp_no. E_name,, Dept_no, Dept_name,Job_id, Salary.hiredate)
ou
Write SQL queries for following question:
Insert least 5 rows in the table.
b. Display all the information of EMP table.
€. Display the information of employees working in department PRODUCTION
and salary above 40000
4. Update the salary of employees to 30000 working in department sales.
e. Delete the employee working in SALES department having salary below 10000.
nannanane
0
Mi Bi Ba in ad Miak
°
bud
£. Display the complete record of employees working in SALES Department. me
2. Create tables EMPLOYEE and DEPARTMENT with following schema 7
by applying Primary key and Foreign ke
Empiem im tLe
fempno.enpname,salary,plmo)
Dept(deptno,deptname,lacation job_id) §
Display information of both ables yn
Bg dentno of employee Shreyas to 201 él “2
© inlay nc armation of employees belonging to department |
the direane 2formation of Employee and Department and analyze ed
(Space for answers) ho
Exercise... ieee . : : : = 3
ie)1. nsen...
he,
2m,
mplayer
M
ral (ou, AR
5 Lo W700)
An
Lo. -sonple
yee Me
isla: eGiea,, Pa,
20.
N19.)
XV, Refere! jee
wd
hups:
further Readine:
sq selects?
cai Feat"
M
Maharashtra State
Toard or Techn!«2
ce
ce
ec
a)
a)
6-2
soon Sse (US)
NL Resources used:
[SNe[NameofReourse | =~SSS~C«peifcatiow
| 1 | Computer System ce e
ee
| 2 | Software.
jal in |_ Turboct!
[3 [Any otberisouce we
| | —
NIL Results (Output of the Program):
Note: Below given are few sample questions for reference. Teachers must design
mare such questions so as to ensure the achievement of identified CO.
Practical Related Questio |
1. Consider the table EMPLOYEE,
Emp(Emp_no, E_name,, Dept_no, Dept_name.Job_i
Execute and write output of the following queris
» Salaryshiredate). |
‘a Select E_name,(Salary*.20) as Incremented_Salary from Emp: |
Select E_name ,Emp_no from Enap where Salary <=50000 and
© Select details of employess having salary more than Ashish Salary:
Select * from Emp where Dept_no< > 201;
2. Consider the table EMPLOYEE and DEPARTMENT
ino. E_namie,, Dept_no, Dept_name.Job- id»
Tedate), Deptt _name.Dept_no,Location,job_id)t
following queries
Sala
Execute and write output of the
{Select * from Emp union Select * from Dept:
ji. Select * from Emp intersect Select * from Dept:
iii, Select * from Emp minus Select * from Dept:
Select + from Emp where salary Emp_no between 100 and 200;
© Select * from Emp where E_name INCShreyas").
Theory Question:
(1) Wharis the use of SET Operators
(2) Syntax of () BETWEEN (1) NOT BETWEEN (1) LIKE (iv) NOT LIKE (IN
(G) _ Difference between UNION & UNION ALL-
(Space for answers)
ws se
Upelase- e.ro ployee bein. atti
Se
RS Sa a Ten 1vent Syste (22199
{dade Ma
Set
Qu pu >
Setlayy
Yap ina. Uoame
h “
getony 4 Sead ovo ore
quid sadarny
ey rine Dept ng ne
53 iz bh a hooun
o wa 1 16
- a No ay 3 a vou
$3 ie \n) eth ! cl
1 dhe
“ Prom aeeryporg eet... V
rena. W208
enone S.Setd Curr} Dn eS C12
® selec!
Inthege .. Saban... 6R RO
output
Coame Lira tee
aw nan eh
abe
Me pe Q..2 from the followin,
fempt QI. and Q. 2 from the follo “ccereme
fuerte Point VIII to X and Xt to XIV for all relevant programming exercise
ise blank pages provided or attach more pages if needed.)
Consider the table EMPLOYEE and DEPARTMENT
EmpiEmp_no, E_name,, Dept_no, Dept_name,tob_id,
Salary.hiredate) Dep(E_name,Dept_no,Lacation);
1. Write SQL Queries for the following:
a. Display the name of employees who does not work under any Job_id=2.
b, Display names of all employees whose name is exactly 6 characters long,
€ Listall employees information except job_id =2 and job_id=3.
d
List the employee name and salary whose salary is not in the range of
20000 to 35000.
¢. List Common E_name from Emp and Dept Tables,
1 Display the name of employee whase salary becomes more than 50000
aller piving 15% merement
ceute and Write output of the following queries:
5 from Emp where Salary >40000 AND L
bleed” sala Dept_Name="
cet * tom Limp where NOT Dept_Name: “Sales") °
Select * from Emp where E_name lik F °
Select * fiom Emp where E name like
a
‘Maharashira State Board of Techical Eicananquedo dt
iD) ~q1_help de give _meanane| Qe vesuld
under —Cendaia “specific Condition
|
2 at Relween
| sed Col. name From dable-. dame a
“Tapere _Col__numebelween Value is
vue. _ ig
al iy ute —belweens
Beles col nace
Co lenume “Nol_balee
_ - roe dale «
_|_ Naene—_tythenre-
fae 4 Nulue
_iw “on pene _
Selec|—Co\_name Romduble-
—+ ee Mm here—call nance din ~ (uo). Vel:2)
L3) ~unien all
Lo extasro_cl-}@) Union ull does nut
L edict. on _Tesuld} BOrreve Ker &
_ elimiawivo— Ahesbae- Jnan
oy duplical __Lunier:
(B iaheo oe low encecul
[on pets union ol . |
| tts nol intlude |
|
' ae Sov)|
3) query =
64) 122) 44 (goat) 2s). “aaa
Sel
Adhere CCjeb~
ouagud
@mp_name |steel— Sob—| Sal
no i
Somes lot Tol | 50,200
eee. \o \o4 | 20,000
Sumi u toe | 30,000
ay query 7 = ss a
oe iclec €-come_,-Sal-_1form—emp—lethere =e
nol beimeen 20,000,004 3fa0n =
op ee
“Anus Se200— ee
Sanika 981000 | _ ee
40,000
geen ee:
mp nlensel—
aa
Select e-namne—frem_er
\eneme Fram —depl—
select
_ yt tetne.
lp.
4
(Space for answers)
from... emp.
e-name.
like.
~.9..ae
select Cound Ctepl_ name) fam ean
Votherre—elitpl name -l \ gales) Ph
rasa a6genors Lae:
Co power C40)
aol -
a Moe oe
0 Feoa 09
5+ They questions
y the femal Otuedise fom
Dumbe a Samad of 24H
ee em Dept Dept_mame tad Saher hres
1. Weite SQL Queries for the folowiae
a Desay aris tO oyenrebone slay w poser tian emg sr a
explore
by. Dobtay ttl employes i sales department wih tne
Ory maior and manera salary of SPY.
Dorn eles of aployes working preci deprenet —h DFA?
Md lovaon of department
tn format Jan 192018"
Lotte employes wnt iret
| Ba laden eying dn of employes Ashish and SA.
Sample 4 _
~ beters Aeron CLOSE EOD
(space for arse)
yuppex.C! Proguctical!)—
7 “production —
2) enon ("Snues') spnenent
a ae amuse sense — _
3 SuRsie C paonuciIon...3.42--
“odue. —
aj Anyst® ‘CT propuction.» 4
2 a
qt a eet -01
‘ass Se amr of Teil sonSpecification 4
868 RAM
Sth, Reals (Output of the Program)
Youd
fais
Dal bye
Suma
Sushant
salvshi
Bam
Van
“Fonaatin Sa ad ot Tene Csvat
[ Sooatuck i
Cs) Drop Sequence _emmp-_Sequence},
o/p--Sequence_clroppeel 4
Select Ssan> _ermp- sequence __
ofp-= Ne clea —fauunel —Datatuase Management System ¢
NIU, Practicnt Related Questions:
Relow given are few sample questions for reference, Teachers must design
more such questions so as a ensure the achievement of identified CO.
Create a tables EMPLOYEE and DEPARTMENT with following sehem:
Emp(empno empaame, salary, phno)
Dept(depino, empno,
deptnane,lacation jobtype)
1, Write Output of the following queries:
18), Select empno,sum(salary) from Emp e,Dept d where esempno=d.empno
group by depino,
b) Select empno,depino from Dept group by deptname
¢) Selcet min(salary) from Emp e,Dept d where ¢ emp
by deptno,
i) Select empno,jobtype from Dept order by deptname;
¢) Explain order by clause (ase/dese) with suitable example.
Lempno group
2. Write Output of the following queries:
1). Display minimum salary of employee from every department
bv) Display total salary of every department
c) Display the department having total employees more than 5.
l) Display details of employees with the employee name in ascending
onder
(Space for answers)
“Miatavastira State Doan of Technica! Flues
eoEraMMNg exerigg
pelec: oe exe. clep-name Preduchion
Wi) select emp. athere..cleg.
>
Aso. 2h.
A aag..{Sar)
(reste ables EMPLOYEE aal DEPARTMENT wit E A sal..y.Csetec 3
Emptempno empname, salary. phew)
Deptdepina. emo,
*kpinamlocatonjoiypey
following schema:
|
(or further Reading:
Suggestions f
Retorences
1 psn wsshoas com
VIL Assessment Scheme:
ech department
imeach department and
Weiehage |
udiemwors_ |
Terformance or
he ayn nceasng ody press eld (5 Meri) a
ay on oT HS ees Cale
rime [en = Fe
mae from every deparnment [Execution of MS. ae 10%
S00, OWS om every depose Betting salary more feet resi =
i
ears eee wating in PRODLCHon, { Soe
“or vg aay more hen sar 9 ofl the employees Coneeees Sto oe
%y (Sr: ir no
> ajscleet fb 'YPe- Sum.Cgatemgy shoe eonp.2. clegl
‘Where @ Smpno.=c PEM PNO... uae “b)Jabdy
7 . 1 ents / Team Members
b} Selec sleplaname, min(Salaay) Srom_eon, efongate Nara
eihere.amping = ef SP gpaphy. cle name. 2 Rela.
= “. ‘
S}-Seleot ‘Yfpleume, empne Sem, clepl
Ay Seteay ¥ rose f™0t1Wer by safe latbseve
Sal> bo P20. A ° =
D) geteci Sleploaas Slneopna. cGom. 7]
whey. empana Opt mene oe
Mseies Aepagdme
—
SS Sie Taro
€enpne...Bam, slepl_.
imate Sa ane enaIX. Resources required
Empaame "Salary pharspeplaaempre nant
Vora) ooo \gaistexgy. tt Ss
pn
— Keune (Seem lesetuny, WL 2 csC
. Ajey (Zoo 7 gassaesss By GS
Raggy 22. 08° 134.1855 ere
“SaVshi_ “goon WNIISS He 4&1
‘Specification OO — S—
aos pia aS aa :
jap-ne cane gal phone Beplea eapire cont
ae © frece ye wy My Ct
— Nonnt ~ [ood XK __ ACSF 2.4
\ egy — (ooo yyy WW SSF 3
Wie understand, the As. Rd Vx We ua sp 4
ie amigclend chop Ae wile query fe 9ge ST ATS US ae
orn pone in ees ae
Siren eachvennt of ened aces ers -
ste goon as 3 ES
ora Se Dear of Festal Fan eew
SNeaeise ~d
@ Setecs* * Roos Cmp. 81aHr Jean!
an Mprdeal-no = DEpT clen!.
@. Sateca ¥ Rem —— ae Join_De,
OM caept ne pl ~ deel _ as);
mH me a
x . Setert FT idtem emp Lefy ain,
20 (emp -clepl unas Pept > cepling
Fs 7 — a |
—
r 4
: “sae i
Wc i
Lae 7 ae ~ {
7 “ ————-—- j
j
o a q
a |PYUEE Sb bbb oe oo rn
Database Manayement System (22319)
Inle...use exe . (Space for answers)
ue PHEY,
§eaMeacsa\o cals dalle... records daperke
S. 9 OP carted ions. ss
cilony, Phone. “Def 2slo. Deprione. bhp
\ Vg @5SbOL2 NL nee CB bonne
O00. 123A IGN cre KBr sludend
1G008... \\ LSE... plead
non B2208...13. 4224), V3. ET. Resiqner
Phino.. “Depl-ao empjo. Nant. lobjyg
N23 4802. cn i CSE etl
\3aG6te WCE
CT...
CSE prarges
orn VOT
LE... siudend |
XIV, Exercise
‘Attempt QL. and Q. 2 £0 Q.3 from the following:
(Note: Use Point VIII to X and XII to XV for all relevant programming exercise
tuse blank pages provided or attach more pages if needed.)
1. Perform: RIGHT JOIN on EMP and DEPT table.
2. Perform INNER JOIN on EMP and DEPT table.
3. Perform LEFT JOIN on EMP and DEPT table.
4. Cross join with suitable example
(Space for Answer)
coGerh.nLABSS §oi... Prodi c@n A wpesuld..... $e
gen Goo AUMDEA Ol ROWE Qn... Ane... SB"
8
et he nO nlalr ear (Clo $5 AS 39..Used
crlong, dard... C708s.-JoI~ oe = |
eee \
5
\
Sa aa Tec on
}<2) upduda emp wie sel oname
= Ramesh Where ema aan
aia re—empoas i
| erap- Name —[esb
a | a, sent
Kosta Waiove §
jay. _ —_kooo
Sumit 28,000
“Eo pliews Spm aap ae ay
spot
lake uncersdond.
1 exccuted query)
aco.
reference. Teachers must design
rent of identified CO.7 GoouLuek
vin
\ : 4 there en 1005
1 C4? Del View — ernp- view. in guar alow vow erp
ousp —# (Space fr eves)
a e...USe de... PoeUL a a
D No cleta -fdunel. a nS aped poevious leble.. ero P
- — Jemp-no. leonp Salas
= ~~ \ Vernet In,e0n.
iz kcouices (3,000
2 nn fl]: — Ms 0 0.06
J, Adit (0.2.8
- oo sum, ~geeoe
6. fn Sushent -80.1.20.2.
4 Sin BV.,00.0,
g Googie. gyo00
from the followin
pant programming X=TE
u
(space frase)
cua depl- en. OS setert. cdeplcot
Gemn...dep! +
Lowen Natues-CS eal, )
OW cree.
depi.-nam€-
<2). Teisecrd Fale. alee
=i0
a
sei clepl 02
Spade steph view
: ae - GS poise. Ram. Repl sstiend. wien’ cep
- 7 — no.=20.
eS —SS
9
Tiaras Sat aad FoXVL._ Assessment Scheme
Performance indieators Weightage
Process related (15 Marks) 0%
7] Fonination of MS Aceess Code 3%
3___| Execution of MS Acsess Code 3%
3.__| Follow ethical practices 10%
Product related (10 Marks) 40%
4. | Corrceiness of MS Access Code ae
5. | Timely Submission of Practical 15%
[6 | Answer to sample questions 10%
, Total (25 Marks) 108%
List of Students / Team Members
1 Choucyahe.... Prrewhn
2 Bove zips Adiocresy
ong
A
: Marks Obtained
Dated signature |
__of Teacher _|
Process | Product
Total(2s
Related(1s) | Retateacio) | T°)
Mabarashira Si!
LN alt
edseddd
nonnnnnn
oeDeen eytionym ey
scl ramet OF SYHONIY
WW
nice c
an
yperatior Pe qe dutabave objects
joven UM te
4
he,
ppaatase Sona
oye
sponte tn oe
ayy sequence
yan, Proeedttle conte quel ain. alle wnt er i |
i ore nanng SYNE
4 exec query MOET gc (OPT nyt
Quy.
IX. oe
sicrable)s
Gata Gomypater (15 DE erable)
Tava y
ce AM ainunl
| eounputer system BARE S00
——TOp ~P Windows 7 and above As pot batch Fora!
peers LINUX version 5.0 oF tet size b
2 | system: 5
7 ; —} ny RDIMS software
(MySQUSOL
a Server Oracle 1x EXPTESS
Edin), .
Precautions ;
} AT SOL statements must ened with & semicolon ()
ii) Follow safety practices
XL Resources used
° pecification
core 13, Par 41GB
log
POrac td
J [Any other resource used |
Result (Output of the execu
query)
hele. Maclenssaoed.ccHoun..cle,
MENG oo GEOPMENER. AMEN,
ractical Related
Bete én
low given are few
more such qu w sample ques
(Mates tne ais 3 a8 to ensare a for reference, Teachers must desi
ais Blan an X and XM to XV for niPrayce of Identified CO.
Bes provided or attne relevant programming
(Mow
: to distinguish bet kiniaire i
Cb) What am weft Between index & view Mewes needed.)
lox?
Maharastra
'° ourd of Technical acon ~
erposse Ma jent System (22319) a
(c) Write output of following query
create index sid on emip(empno)
create midex cid on emplempnoename)
create sequence emp sequence :
snerement by |
start with |
nomaxvalue
cache 10,
4, alter sequence emp_sequence
increment by 15
maxvalue 1000
cycle
cache 20;
5. drop sequence emp_sequence;
create synonym emp_synonym for emp, drop synonym emp. synonym
° .
CB. Cree... MAAK... CIS... GO. 2AAP.. EAPO
oP BAW ony
OAS. QUE. Shed ODED. Cored.
XIV, Exercise
‘Attempt QJ. and teacher shall allot Q. 2 TO Q.7 from the following:
(Note: Use Point VIII to X and XIII 10 XV for all relevant programming exercise
use blank pages provided or attach more pages if nceded )
te simple index dept_simple_index on dept table
xx dept_comiposite_ index on dept table
nex and dept_composite_index
;quence on dept table,
cr
Create composite inde?
Drop index dept_simple.
Create sequence dept_se
‘Aller sequence dept_sequence
Create synonym dept_synonym on
Drop synonym dept_synenym
dept table
NepaeNe
(Space for answers)
Co. Crecde Sieaple.-deddex.depl..Slenpie ! locken..cv4
heph...Depl» gue
; ‘aelen..clep! Compose tndlern .on del
Zo 0... 2A NOO)
28) cee: open. be pl a Simple. inekersy
Vpotente.hep) Comper e—ncdem!
ation 7
ee
sara Sate Board of Tectia FlueCHD coreude... SeyuUent& axel ,
ment oy ch geleuns woh
Cocke.
XV. References / Suggestions for further Reading
huups docs oracke goed BLOWOG
XVL_ Assessment Scheme
server. 102/142) views bm L1u0s4s
SeaW eae In. (La,
Lta.ancrrnest we,
Performance indicators Welghtage
Process related (15 Marks)
1 Formation of MS Access: Code
Execution of MS Access Code 25%
3, | Follow ethical practices. 10%
Product related (10 Marks) 0%
4. | Correciness of MS Access Code 15%
5. | Timely Submission of Practical 18%
6. | Answer to sample questions 10%
‘Total (25 Marks) 100% “|
List of Student Tedim Members,
chou 2... PUN.
Marks Obtained
of Teacher
Related(15) | Related(10)
Proc
rocess | Product | -potai(2s)
Tfahorashira State Board of Technical Fuveaton
mVII. Pre
)
ii)
‘ocedure
1p LOOP;
END LOOP,
Write a program on SQL's command prompl.
Execute the program
iii) Check the output
co.
IX. Resources required
[Sr Name of " saat
No. Resource Specification Quantity Remarks
1 | Hardware: ‘Computer (i3-15 preferable),
Computer RAM minimum 2 GB and
System onwards and HDD minimum
5GB As per batch Forall
2 | Operating system | Windows XP/Windows. Saf Experiments
T/LINUX version 5.0 of later
3” | Software Oracle /MySQUISOL Server
2005/2008/2011
X. Precautions
All Program statements must end with a semicolon (;).
Use proper format specifier for DBMS_OUTPUT.PUT_LINE statement,
Follow safety practices
XL. Resources used
Name of Resource
‘Specification
‘Computer System
cre is PMA AGB
with broad specifications
2 | Software
oracle log
3 | Any other resource used
XIE Result (Output of the Progra
Wh Re Mh ODD.S4.0.0,
fe
{0
XIIL Practical Related Quest)
Note: Below given ar
design more such questi
BOTOAM:... UG LO.
1 Snafte MESA eek:
co.
How to declare constant in PL-SQL
(Note: Use Point VIN to X and XT
use blank pages provided or attach more
re pages if needed.)
Write a PLSQL program to di
cl.
few sample questions for reference, Teacher must
“ions so as to ensure the achievement of identified
be
lay 1 to 10 nu
Maharashira State Board of Technical Education
to XV forall relevant programming exercise
in reverse order using for loop,
aDatabase Managen
2. Write PL’SQL program to find factorial of number 5 using while loop
(Space for answers)
SD. Meclarg.. Aun.Aucmber (2.93
BEKO ; sie Sea cenronluaeeman
= a. Im REMe Rstrnt Isop ,
sen LBA Sn GUM PUL... uel Jule... COL Mery
Fire)... ep . .
os (2s. a fac
_———— lta
Encl QCA cssscis
wwelbrn §.. auld pul Ina Lec)
BONN geist
22. Petd awe...
vonkOs.. nUmbea
Q.... Alum. bers
Begias
t
XIV. Exercise
Attempt QI. and teacher shall allot Q. 2 OR Q.3 from the following:
(Note: Use Point VIII to X and XII to XV for all relevant programming exercise
| use blank pages provided or attach more pages if needed.)
‘Theory-Enlist data types available in PLSQL.
J. Write a PL/SQL program to accept three numbers and display the largest number.
2. Write a PL/SQL program to display even numbers between | to 100,
3. Complete the given table:
| Program Code Write Output
a) DECLARE T=0 q— |
- : =8
i number := 0; vet 7
BEGIN beg
Loop .
dbms_output.pul_fine (‘i= "fi; tzlo
bith,
EXIT WHEN7=11;
END LOOP;
END;
Maharashira State Roard of Technical Faucation a————
ewe of given
system (223 19)
b) DECL: ARE
num Number(3) =1235 ie .
ans. Naaber(3) =O; mm
i Nude 0: numbes 1S 32\
BEGIN
WILLE num != 0
LooP
j:emod(num,10);
ans:=(ans * 10) +4
num: floor(num/10);
END LOOP;
dbms_output line(‘reverse
‘of given number is: |] ans):
ND:
po
(smece for answers)
L<. 1D. ‘Cleclace...
a) “nunanes
i RGSS i mS
NOOR ARNRDOARHRARHRNSE
Tiaharashura State Board of Technical FalveationIX.
14 and practical 5.
Dept Table ereated im PBN
rahe tables using SELEC T statement
Proce
i. Use the Emp
ji, Display the inte
iii. Execute the Crente User Staten nl.
ceute the Grant Statement
the Revoke Statement
wv
v, Exceute
Resources required
Sr. | Name of alexi antit
No. | Resource Specification Quantity Rema,
1 | Hardware Computer (13-15 preferable),
Computer RAM minimut 2 GB and
System JDD of 160GB
[2 | Windows 7
Above/LINUX version 5.0 07 | AS PEP batch ea
later size Expaine
3 Software ‘Any RDBMS: software
(MySQL/SQL
server/Oracle 10g Express
Edition )
Precautions
PAIL SQL statements must end with a semicolon (
2. Follow safety practices
Resources used
No] Name of Resource Specification
T | Computer System Come 13. PAM
with broad specifications. RA AGS 3
2 ‘| Software
oracle ~ 1°95 |
3 | Any other resource used
XI.
XI.
Results (Output of the Program)
we... LnderSdood..o
CCN WIC FEA.
Practical Related Questions 4
Note: Be ' give
Below given are few sample questions for referen
fevement of
more such questions so as to ensure the ac
ey seat he use of twith gr 5" clause in grant co
Consider et EMPLOYEE Mad DEPARTMENT with following
Snpianes vempname, salary, plino) Depttdepmne,
ypno, deptname location jobtype)
ce. Teachers must design
tified CO.
hema:
Matorashira State Board of Technical EducationDatabase Management System (22319)
1. Write Output of the Following queries:
Create user jyoti identified by mitpaly:
Grant create table create view to jyoti,
Grant seleet,insert.update on Emp to jyotis
Grant seleet,update(deptno,empno) on Dept to jyoti:
Alter user jyoti identified by mi
Revoke create table,create from jyoti:
Revoke select,inscrt,update on Emp from jyoti;
Create role emp_pvr;
Grant create table,create views to emp_pvr,
Grant emp_pvr to jyoti john;
b.
a.
f
8.
h
i
i
(Space for answers)
Q
ay 2. MS06..... .Cread.ecd
e
‘Maharashtra State Hoard of Technical FdveationDatabase Managemen System (22319)
Exercise
Attempt Qt. and teacher shall allot Q. 2 (0 Q.9 from the foll
(Note: Use Point VIII to X and XIII to XIV for all relevant programming eSSIi8¢
's provided or attach more pages ifneeded.)
Create user john and implement the following commands on table Emp andl Dept.
Wate a query to grant select insertdelete privileges on Emp and Dept table.
Wits a query to grant update privileges on columns of empno and silary nts table.
fil above privileges from Emp and Dept table.
1
2
3
4
5. Write query to create role dept_pvrs
6
7.
8
9
‘ges-ereate table,create view to role dept_pyr
ivileges to users jyoti and john.
insert, delete (o role dept_pvrl;
yyoti and john.
Write query 10 assign system p
Write query to assign above system pr
Write query to assign object privileges-select, i
ct privileges to users j
Write query to assign above obj
(Space for answers)
@. corecte.....use....john.. Qemify . ‘by. Sohn... 7
2) = grand. Selec, Sosen:., updleda. lel on Evap..
0 fosenlyclelede...an...iMap..do...John.
4).gro.ni... Selecd...Upslade... Leap... Salons) On. eu =
Scilomy....0.2:...John. - os pe
od. .xeMone..... Selecd... (agerd..clelead
salwar a pot AAAS... Upcuda..Cen 2-90
SJ mease.
YJqront....recse..
| graos.lepl..pw.
8).gaurd...goleel..%
Sqranl _deleed “if
Joyd poh.
Maharashtra State Board of Technical Educa
96
5
6
‘
4
t@SumitBiranje