DBMS Program List
DBMS Program List
6. Student (name varchar(20), rollno int, age int, phy int, che int, bio int)
a. Create the database college.
b. Create the student table and insert the 6 records in table.
c. Find the name of those students who have passed in all subjects.
d. Find the name of those students who failed in all 3 subjects.
10. Customer (id int, name varchar(20), age int, address varchar(30))
a. Create the database shop.
b. Create the customer table and insert the 6 records in table.
c. Make the table ascending order with age.
d. Find the customer name in upper case.
11. Student (name varchar(20), rollno int, age int, phy int, che int, bio int)
a. Create the database college.
b. Create the student table and insert the 6 records in table.
c. Select those students name whose age below 26 & living in ‘Agra’.
d. Create a view of the student table with age and roll no field.
12. Student (name varchar(20), rollno int, age int, phy int , che int , bio int)
a. Create the database college.
b. Create the student table and insert the 6 records in table.
c. How will you use rollback in deletion?
d. Count the number of students in the table?
13. Student (name varchar(20), rollno int, age int, phy int, che int , bio int)
a. Create the database college.
b. Create the student table and insert the 6 records in table.
c. Create an index on table student.
d. Delete a column in student table.
14. Student (name varchar(20), rollno int, age int, phy int, che int, bio int)
a. Create the database college.
b. Create the student table and insert the 6 records in table.
c. Add a primary key on column rollno with ALTER.
d. Update the age of any student in the given table.
15. Student (name varchar(20) , rollno int, age int, phy int, che int, bio int)
a. Create the database college.
b. Create the student table and insert the 6 records in table.
c. Delete those student record whose name start from ‘S’.
d. Select those student name whose age in between 25 and 35.