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

DBMS

1) The document describes an experiment on using SQL statements to design and develop queries for a database application. 2) It involves creating a database and table, inserting and selecting data, deleting columns, and modifying table attributes and data using DML and DDL statements. 3) The conclusions indicate the student learned and implemented various SQL commands like insert, select, delete, and modify to work with tables, values, columns and attributes through this experiment.

Uploaded by

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

DBMS

1) The document describes an experiment on using SQL statements to design and develop queries for a database application. 2) It involves creating a database and table, inserting and selecting data, deleting columns, and modifying table attributes and data using DML and DDL statements. 3) The conclusions indicate the student learned and implemented various SQL commands like insert, select, delete, and modify to work with tables, values, columns and attributes through this experiment.

Uploaded by

Ketan Surashe
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

B-77

K. K. Wagh Institute of Engineering Education & Research, Nashik.


Department of Electronics & Telecommunication Engineering

TITLE: Experiment Write-up (EW)


Doc. No.: DML/SOP/EW/1

5. Adding entries into the table.

definrtion
oe leamt Dato
Conclusions: Ln this expemment,
we implemcnted bosic pDL
Ianguge stateme nts in m sQLalEey
Statements i ke create and and Dmi Statement
inserE and Selcct
Question
Describe any application where DBMS is used.

Prepared by
(K. S. Navale) Approved by
H. O.D.
K. K.
B-17
Wagh Institute of
Exp. Engineering Education & Resesearch/ Polytechnic Nashil -3

be anu
The
applicotion
uhereDAmS 1S used
on
DL
databagemanogemenk 9uste m (DBms) 1s defined 09
oftuae System that
allous the uSe to define Ceateand
maintaiD the database and
OTovide control to dara access the
TLn 50 many elds coe wilI use a dotab.05.c managenent
Sustemn

Some o the appli.cotions whene dotobas c manaqement 5ystem


use -

Libnamy anaq eme.nt sustem


NOW o days tsbecome eas in the libany t o t a c k each

baoK and maintain it becausc oP the datobaseThis hapens


because there Ooe thouSandS of books in the lib0ny
ot ol baoks
TE is veTy diFficulE to Keep tS Tecod
eqiSter Noo D8ms used to maiotain
iD 0 COpy O
this elated infommaion oP badk i5sue dates Dame
all
E the baak
OF book author and availobility

Banking main appliCotion o databa9 es

BanKinq is one of the tansackions througb


be thouSand
knew tbere 0o
thfs uthout qoing to
to
e oll this ithout gaing

we one doing
banksdaily and becaus.c OP DBms thak
allpassibleug

the banks Ibis1 s


transactions

allthe
bank
anag eS
8-77

Education & Research, Nashik.


Institute of Enginering
K. K. Wagh &Telecommunication
Engineering
Department of Electronics
TITLE: Experiment Write-up (EW)
Doc. No.: DML/SOP/EW/2
table definition and all the
sQL DROP TABLE
Ihe statement is used to
remove a
that table
data,
constraints and permission
specifications for
s , trggers, while this command because
using
once a tahlo
is
NOTE You should be very careful
available in that table will also be
lost forever
deleted then all the information

as foiloWs
The basic syntax ofthis DROP TABLE Sstatement is
DROP TABLE table name,

Example
DROP TABLE CUSTOMERS;

Instructions:
1 Display all databases from the system.
2 Create
a database with your school name.
3. Create a table staff with columns ID, name, subjects, salary
4 ID should be primary key.
5. Add 10 entries to the table.
6. Create view of stafftables as staff_basics (D, name)
7. Create index on staff table.
8. Set 1D for 11 entry as 100 and add 2 more entries such a way that ID: 100 and 101
will be allotted to them
automatically.
9. Create another name for staff as a
faculty
10. Demonstrate all these operations.

Conclusions:
Io this expeiments coe leant Vomous typeg of
my S@L stotements tike DDL,DML, DCL TCL
de fmplemented DDL Stateme ntg Cohich demostToted
the
the USe of SGL objects like toble, vieo, indec,Sequ

Prepared by
(K. S. Navale) Approved by
H. O. D.
B-77
K. K. Wagh Institute of
Engineering Education &
Department of Electronics & Research, Nashik.
eTLE: Experiment Write-up (EW) Telecommunication Engineering
Doc. No.: DML/SOP/EW/3

Name: Apeksha Vilas warude


Class: TE
Branch: E&TC
Div: B
Roll No: 77
Subject: Database Management Lab (304187)
Experiment No.: 3
Date: /20
Aim: Design and
develop at least 5
SQL queries for suitable database
DML statements lnsert and Select with application using SQ
operators and functions.
Instructions:
1. Display all databases from the
system.
2. Create a database with your college name.
3 Create a table class with columns year, branch, division, class strength, teacher, shit,
elective

Year, division and branch should be primary key.


5. Add 3 entries to the table. (At least one class must have more than 60 students)
6. Display entire class table
7. Delete shift attribute from the class table.
8. Display entire class table.
9 Add foreign language attribute to the class table.
10. Display only year, branch, division and class strength
11. Change teacher name of Third Year class.
than 60 students.
12. Display year, division and branch of only classes having more
13. Demonstrate all these operations.

Conclusions:

erperiment ,we leomt


& implemen tecl uomous
In this
Co mmands
in SGL oUs
pm
volues into tobles, delettng
insSevt
uen Lle leammE to
tabie,
toble,
4 Uiecoing
Viecoin9
the
toble altenng
From o using Select commOnd

Select ed ro

Approved by
H. O. D.

Prepared by
(K S. Navale)
B-77

K. K. Wagh Institute of Engineering Education &Research, Nashik.


Department of Electronics & Telecommunication Engineering
TITLE: Experiment Write-up (EW)
Doc. No.: DML/SOP/EW/4

Name: Apeksha Vils Iarude


Class: TE Branch:E&TC Div: B Roll No: 77

Subject: Database Management Lab (304187)

Experiment No.: 4 Date: /20

Aim: Design and develop at least 5 SQL queries for suitable database application using SQL
DML statements Update and Delete with operators and functions.

Instructions:
1. Display all databases from the system.
2. Createa database with your college name.
3. Create a table class with columns year, branch, division, class_strength, teacher,

subject, shift
4 Year, division and branch should be primary key.
least few classes must have more than 70 students)
5. Add 10 entries to the table. (At
6. Display entire class table.
table.
7. Delete shift attribute from the class
8. Display entire class table.
division and class_strength
9. Display only year, branch, students.
classes having less than 70
10. Display year and branch of only research)
department, salary,
11. Create another table faculty(teacher, all entries & At least
into it. (research attribute should be NULL for
12. Add 10 entries
than 1,00,000 salary)
teachers must have more
few table.
for all entries for class
teacher, department, salary
13. Display year, branch, allowed to teach
who have more than 1,00,000
salary should not be
14. The teachers "Yes" in the faculty.
research attribute as
mark
subject in class table and for all entries for class table.
teacher, department, salary
15. Display year, branch, table.
entire class & faculty
16. Now display updated table.
class
entries from faculty &
17. Delete all have created.
tables from database you
18. Show all created.
database you have
19. Delete the
databases from the system.
20. Show all the
Demonstrate all these operations. and deuelopeo
21.
coe designed
erpeiment delete
this 1ike update,
Conclusions: n Stoterments
like
qunes uSing
Dnm pTedePined
oPevatos

SQL Uamaus to usc the


kle leomt
impiemcnted

l e also the kIHERE claugc


and
AND
N, vamous type
ciause
16s
JOIN

Approved by
H.O.D.
Prepared by
(K S. Navale)

You might also like