Sei sulla pagina 1di 2

DEPARTMENT OF COMPUTER SCIENCE

Subject Code : CS 503

Subject : DBMS
List of Experiments

Note : All experiments given below are implemented in


(a) Micro Soft Access and then (b) My Sql
1. Create the Database : Employee with a table name : Emp
Note :
1.
After created the structure fill 25 or more records.
2.
Sections are HR , Accounts , Technical , Establishment
3.
Desig are Gen Manager , Manager , Asstt Manager , Accountant , Technician , Clerk
2. Create table name : salary in the database employee
Note :
1. After created the structure fill 25 or more records with the same Emp_id.
2. Month Name would be 3 characters i.e. JAN , FEB , MAR ..
3. Keep DA & Total field vacant.
3. Extend the fields in the table salary in the database employee.
Note :
1. After extending the structure fill all values concerned.
2. Some have h_loan and some have not. If some have not h_loan then tot_h_loan , cur_inst ,
tot_inst , h_balance would be 0.
3. Tot_ded , Net_salary should not fill.
4. Create another table name : section and designation in the database Employee
Note :
1. Sections are HR , Accounts , Technical , Establishment
2. Desig are Gen Manager , Manager , Asstt Manager , Accountant , Technician , Clerk
3. Create another table name : Salary_backup with the same field structure of salary table
5. On the basis of already created databases and tables in the previous lab experiments. The
queries are to be written and executed successfully ( select , Select where & Select where with
various comparison operators)
6. In continuous to the previous experiments , write same queries on other tables
7. In this assignment , students have to learn DML ( Data Manipulation Language) and uses
the query into already created database.
8. In this assignment , students have to learn how to join two tables and retrieve the records from
the joined table.
9. Create new database name : Sales and create a table name : customer
Note :
1. After creating the structure fill the records 25 or more
2. Cust Type are : Regular , Temporary , Company , Retails , Agent

10. Create another new table name : order_details in the database : Salaes
Note :
1. After creating structure fill the records 25 or more.
2. Some customer would be given discount and some not.
11. Create another new table name : item_details and stock in the database
12. Write various queries to retrieve all or selected records from customer
13. This assignment includes queries related with joining of two tables of Sales Database.
Students have to implement the queries in the same way as they had done it in the previous
assignment.
14. This assignment includes the other type of query. Students are required to learn this query and
execute it very carefully , because this query can cause damage the database and tables.
resulting the Database would be inconsistent.
15. The Same Query has to use in this assignment on other database.

******************

Potrebbero piacerti anche