Download as pdf or txt
Download as pdf or txt
You are on page 1of 69

Session – 2021-2022

POST GRADUATE DIPLOMA IN COMPUTER


APPLICATION(PGDCA 2ST SEMESTER)

ASSIGNMENT

ON

“DATABASE MANAGEMENT SYSTEM”

Guided By Submitted By
Ms. Chanchal Chandrakar Varsha Sahu
(Asst. Professor)

AT

GRACIOUS COLLEGE OF EDUCATION BELBHATA,


ABHANPUR (C.G)
CERTIFICATE OF EVALUATION
Thisis to certify that the project work “Database Management
System” is carried out by Varsha Sahu a student of PGDCA 2nd sem. Gracious
collage of Education belbhata Abhanpur after proper evalution and
examination, is hereby approved as a credible work in the dicipline of
computer science & information technology and is done in a satisfactory
manner for its acceptance as a requisite for the award of Diploma of post
Graduate Diploma in computer Application during the year 2021-22 from
Pt. Ravishankar Shukla University Raipur (C.G.).

Internal Examiner External Examiner


CERTIFICATE
This is to certify that the project work entitled “Database
Management System” submitted to Gracious collage of Education by Miss.
Varsha sahu Roll no.-……………………….. in partial fulfilment of the requuirement
relating to nature and standard of the award of post Graduate Diploma in
computer Application during the year 2021-22 from.
Pt. Ravishankar Shukla University Raipur (C.G.).

Approved by Guided by
Mr. ShatrughanBhoi Ms. Chanchal Chandrakar
HOD Asst. Professor
Index
S.N. OBJECT P.N DATE SIGN
1 Create table collage (cid,cname,cadd, city)
Create table train (tno, tname,type,time)
Create table order(oid,oname,price,city)
1. Insert 5 row to solve query.
2. Add primary key in the table
3. List of cid, cname in the table
4. Change gracious college to science college in the table
5. Delete college there cid is 104.
2 Create table Employee(eno,ename,doj,city)
Create table exam(regno,subject,time,day)
Create table paper(pno,pname,min,max)
1. Insert 5 row to solve query.
2. Change varchar to char in the table .
3. List of name their data of join in the table.
4. List of name their data of join is 4-aug-13.
5. Update the name Ram to Vina.
6. Delete name their city is Raipur.
7. Get full detail of exam their day is Monday and Friday.
3 Create table sales (sno,sname,sdate,company)
Create table s1(sno,sname,year)
Create table exam(regno,subject,time,day)
Create table paper(pno,pname,min,max)
1. Insert 5 row to solve query.
2. Add new column sprice in sales.
3. List of sno and year of both table.
4. Find sname their price is 4000 and 3000.
5. Delete date thir price is 3000.
4 Create table test(tno,tdate,tname,tmarks)
Create table college(cid,cname,cadd,city)
Create table s1(sno,sname,year)
1. Insert 5 row to solve query.
2. Add primary key In the table.
3. Find name of test start with c and d.
4. Change name it to maths.
5. Calculate sum of marks in the table.
6. List of name and date in the test.
7. Delete college there cid is 104.
5 Create table score(sid, sname,max,min,sdate)
Create table computer(cno,type,price,pdate)
Create table furniture(fno,type,price,pdate)
1. Insert 5 row to solve query
2. Find sname their max score is 100 and 500
3. Calculate average of max and min score.
4. Define min score in descending order.
5. Find max score their data is 14-aug-13 and 12-aug-13.
6. Show max,min,date in the table.
6 Create table Cricket(cno,cname,doc,city)
Create table test (tno,tdate,tname,tmarks)
Create table socre(sid,sname,max,min,sdate)
1. Insert 5 row to solve query.
2. Count total max score in the table
3. Calculate average of max and min score.
4. List of cricket name their date is 16-oct-13.
5. Calculate sum of marks in the table.
6. Delete name of test their place is Nagpur.
7. Sow max,min,date in the table.
7 Create table dept5(dno,name,subject,period)
Create table company(cno,cname,regno,cdate)
1. Insert 5 row to solve query.
2. Find name their subject is c and dbms.
3. Show period in descending order.
4. List of cname start with a and J.
5. Calculate sum of period.
6. List of cname,regno,date in the table)
8 Create table dept5(dno,name,subject,period)
Create table company(cno,cname,regno,cdate)
Crate table staffjoin(sid,name,dept,doj,salary)
Crate table staff(sid,sname,contact,city)
Create table teaching (sid,class,subject,session)
1. Insert 5 row to solve query.
2. List of name,department name using join.
3. Modify the value of class in the teaching.
4. List of staff teaching in the pgdca.
5. List of staff their joining date is 5-aug-13 and 15-sep-13.
6. List of staff their name start with N and S.
7. Calculate the total contact no.
9 Create table inroll(eno,ename,doe,year)
Create table admission(eno,name,fees,class)
Create table fees(eno,max,min,balance)
1. Insert 5 row to solve query.
2. List of admission with year in the table
3. Calculate the average fees of the the table
4. List of enroll name their no is 1004 and 1005
5. List of class, name in the table
6. Define year in the descending order.
10 Create table school(sno,sname,city,dist)
Create table staff(sno,name,salary,qualification)
Create table staffjoin(sno,name,subject,doj)
1. Insert 5 row to solve query.
2. List of sataff name their subject is DBMS and IT.
3. Calculate date of joining in the descending order.
4. Delete name of school their city is Bhilai.
5. Count total salary in the table .
6. Define staff their salary is 8000,100000,11000)
7. List of school name,city,with district in in the table.
8. Calculate average salary of staff.
11 Create table class(eno,cname,fees,cadd)
Create table faculty(cno,name,salary,subject)
Create table Employee(eno,ename,doj,city)
Create table College(cid,cname,cadd,city)
1. Insert 5 row to solve query.
2. Find name,fees their address is durg or rajim.
3. Define name subject their salary ot equal to
1000&2000.
4. Calculate fees in appropriate order.
5. List of class name start with p and d.
6. Add new column contact in the faculty.
7. Change the name dca of hdca in the table.
12 Create table college(cid,cname,cadd,city)
Create table student(cid,name,fees,sad)
Create table test(tno,tdate,tname,tmarks)
Create table teaching(sid,class,subject,session)
Create table class(cno,cname,fees,cadd)
1. Insert 5 row to solve query.
2. Add primary key in the college.
3. List of college their address is Raipur and Bilaspur
4. List of name,address and city of college using self join.
5. Calculate fees in descending order.
6. List of name their fees is 1200, 1500,2000.
13 Create table hospital(hid,name,city,types)
Create table doctor(did,dname,fees,special)
Create table order1(oid,oname,price,city)
Create table person(pno,pname,iname,iname,dob)
Create table purchases(pid,pname,pdate,city)
1. Insert 5 row to solve query.
2. List of doctor name with fees.
3. Get detail of doctor their dname is poonam and
shushant.
4. Delete order their name is toys.
5. List of fees between 500 and 1200.
6. Get detail of minimum fees in doctor.
Class-PGDCA-I Programming in ‘C’

Name- Varsha Sahu 1|Page


Class-PGDCA-I Programming in ‘C’

Name- Varsha Sahu 2|Page


Class-PGDCA-I Programming in ‘C’

Name- Varsha Sahu 3|Page


Class-PGDCA-I Programming in ‘C’

Name- Varsha Sahu 4|Page


Class-PGDCA-I Programming in ‘C’

Name- Varsha Sahu 5|Page


Class-PGDCA-I Programming in ‘C’

Name- Varsha Sahu 6|Page


Class-PGDCA-I Programming in ‘C’

Name- Varsha Sahu 7|Page


Class-PGDCA-I Programming in ‘C’

Name- Varsha Sahu 8|Page


Class-PGDCA-I Programming in ‘C’

Name- Varsha Sahu 9|Page


Class-PGDCA-I Programming in ‘C’

Name- Varsha Sahu 10 | P a g e


Class-PGDCA-I Programming in ‘C’

Name- Varsha Sahu 11 | P a g e


Class-PGDCA-I Programming in ‘C’

Name- Varsha Sahu 12 | P a g e


Class-PGDCA-I Programming in ‘C’

Name- Varsha Sahu 13 | P a g e


Class-PGDCA-I Programming in ‘C’

Name- Varsha Sahu 14 | P a g e


Class-PGDCA-I Programming in ‘C’

Name- Varsha Sahu 15 | P a g e


Class-PGDCA-I Programming in ‘C’

Name- Varsha Sahu 16 | P a g e


Class-PGDCA-I Programming in ‘C’

Name- Varsha Sahu 17 | P a g e


Class-PGDCA-I Programming in ‘C’

Name- Varsha Sahu 18 | P a g e


Class-PGDCA-I Programming in ‘C’

Name- Varsha Sahu 19 | P a g e


Class-PGDCA-I Programming in ‘C’

Name- Varsha Sahu 20 | P a g e


Class-PGDCA-I Programming in ‘C’

Name- Varsha Sahu 21 | P a g e


Class-PGDCA-I Programming in ‘C’

Name- Varsha Sahu 22 | P a g e


Class-PGDCA-I Programming in ‘C’

Name- Varsha Sahu 23 | P a g e


Class-PGDCA-I Programming in ‘C’

Name- Varsha Sahu 24 | P a g e


Class-PGDCA-I Programming in ‘C’

Name- Varsha Sahu 25 | P a g e


Class-PGDCA-I Programming in ‘C’

Name- Varsha Sahu 26 | P a g e


Class-PGDCA-I Programming in ‘C’

Name- Varsha Sahu 27 | P a g e


Class-PGDCA-I Programming in ‘C’

Name- Varsha Sahu 28 | P a g e


Class-PGDCA-I Programming in ‘C’

Name- Varsha Sahu 29 | P a g e


Class-PGDCA-I Programming in ‘C’

Name- Varsha Sahu 30 | P a g e


Class-PGDCA-I Programming in ‘C’

Name- Varsha Sahu 31 | P a g e


Class-PGDCA-I Programming in ‘C’

Name- Varsha Sahu 32 | P a g e


Class-PGDCA-I Programming in ‘C’

Name- Varsha Sahu 33 | P a g e


Class-PGDCA-I Programming in ‘C’

Name- Varsha Sahu 34 | P a g e


Class-PGDCA-I Programming in ‘C’

Name- Varsha Sahu 35 | P a g e


Class-PGDCA-I Programming in ‘C’

Name- Varsha Sahu 36 | P a g e


Class-PGDCA-I Programming in ‘C’

Name- Varsha Sahu 37 | P a g e


Class-PGDCA-I Programming in ‘C’

Name- Varsha Sahu 38 | P a g e


Class-PGDCA-I Programming in ‘C’

Name- Varsha Sahu 39 | P a g e


Class-PGDCA-I Programming in ‘C’

Name- Varsha Sahu 40 | P a g e


Class-PGDCA-I Programming in ‘C’

Name- Varsha Sahu 41 | P a g e


Class-PGDCA-I Programming in ‘C’

Name- Varsha Sahu 42 | P a g e


Class-PGDCA-I Programming in ‘C’

Name- Varsha Sahu 43 | P a g e


Class-PGDCA-I Programming in ‘C’

Name- Varsha Sahu 44 | P a g e


Class-PGDCA-I Programming in ‘C’

Name- Varsha Sahu 45 | P a g e


Class-PGDCA-I Programming in ‘C’

Name- Varsha Sahu 46 | P a g e


Class-PGDCA-I Programming in ‘C’

Name- Varsha Sahu 47 | P a g e


Class-PGDCA-I Programming in ‘C’

Name- Varsha Sahu 48 | P a g e


Class-PGDCA-I Programming in ‘C’

Name- Varsha Sahu 49 | P a g e


Class-PGDCA-I Programming in ‘C’

Name- Varsha Sahu 50 | P a g e


Class-PGDCA-I Programming in ‘C’

Name- Varsha Sahu 51 | P a g e


Class-PGDCA-I Programming in ‘C’

Name- Varsha Sahu 52 | P a g e


Class-PGDCA-I Programming in ‘C’

Name- Varsha Sahu 53 | P a g e


Class-PGDCA-I Programming in ‘C’

Name- Varsha Sahu 54 | P a g e


Class-PGDCA-I Programming in ‘C’

Name- Varsha Sahu 55 | P a g e


Class-PGDCA-I Programming in ‘C’

Name- Varsha Sahu 56 | P a g e


Class-PGDCA-I Programming in ‘C’

Name- Varsha Sahu 57 | P a g e


Class-PGDCA-I Programming in ‘C’

Name- Varsha Sahu 58 | P a g e


Class-PGDCA-I Programming in ‘C’

Name- Varsha Sahu 59 | P a g e


Class-PGDCA-I Programming in ‘C’

Name- Varsha Sahu 60 | P a g e


Class-PGDCA-I Programming in ‘C’

Name- Varsha Sahu 61 | P a g e


Class-PGDCA-I Programming in ‘C’

Name- Varsha Sahu 62 | P a g e


Class-PGDCA-I Programming in ‘C’

Name- Varsha Sahu 63 | P a g e

You might also like