Professional Documents
Culture Documents
Var DBMS Merged
Var DBMS Merged
ASSIGNMENT
ON
Guided By Submitted By
Ms. Chanchal Chandrakar Varsha Sahu
(Asst. Professor)
AT
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’