You are on page 1of 4

ANNA UNIVERSITY CHENNAI-CHENNAI 600 025

B.E DEGREE PRACTICAL EXAMINATION NOV./DEC.2012

Centre Programme

: 9611/LJCET

Dateof Exam

: 10/11/2012

: B.E .Electronics and Communications Engineering Semester : 04

Subject Code : CS48

Subject Name : Database Management System Lab

Program List 1. Use DDL & DML commands to create insert, update, delete, add and rename the table. 2. Use DDL & DML commands to create insert, update, delete, add and rename the Student record. 3. Design and implementation of employee details using nested and join queries. 4. Design and implementation of library management system using trigger. 5. Create the procedures and design SQL commands for View 6. a. Write a PL/SQL program using function b. Write a PL/SQL program using procedures c. Write a PL/SQL program using control structures 7. Design and implementation of front end tools (Title bar, Menu bar ,tool bar ,control menu, project explorer window, properties window, object browser, form layout) 8. Design a form using Visual Basic 9. Design a Menu using Visual Basic 10. To create the following tables using given constraints a) Column name Cus_name Cus_street Cus_city Data type Varchar2 Varchar2 Varchar2 size 15 10 10 Constraints Primary key Not null Not null customer

b) Column name Branch_name Branch_city assert Data type Varchar2 Varchar2 Number size 12 12 7 Constraints Primary key Not null Assert value>100000

c) Column name Acc_no Branch_name Balance Data type Varchar2 Varchar2 Number size 5 12 3 Constraints Primary key must start with A Foreign key references Branch table Not null

11. i) Create and insert values into a table employee with the fields are employee no, employee name, department no, manager id, salary with following conditions. a) Salary should not exceed 50000 rupees. b) It should not allow null value for the column department no. c) Employee no, employee name are unique values. d) Set employee no is primary key. ii) To create the table project with the fields are department no, project and city in which department no reference as the employee table. iii) To create the table manager with the fields are manager id, name, and department no. Condition is manager id combined with name as the primary key.

Internal Examiner

External Examiner customer

1. Use DDL & DML commands to create insert, update, delete, add and rename the table.

2. Create the procedures and design SQL commands for View

REG.No

Algorithm (10)

Program I (30)

Program II (30)

Output (20)

Viva (10)

Total (100)

1. Use DDL & DML commands to create insert, update, delete, add and rename the Student record. 2. Design and implementation of library management system using trigger.

REG.No

Algorithm (10)

Program I (30)

Program II (30)

Output (20)

Viva (10)

Total (100)

1. Design and implementation of employee details using nested and join queries. 2. Design a form using Visual Basic Program II (30)

REG.No

Algorithm (10)

Program I (30)

Output (20)

Viva (10)

Total (100)

1. To create the following tables using given constraints a) Column name Data type size Constraints

Cus_name Cus_street Cus_city b) Column name Branch_name Branch_city assert

Varchar2 Varchar2 Varchar2

15 10 10

Primary key Not null Not null

Data type Varchar2 Varchar2 Number

size 12 12 7

Constraints Primary key Not null Assert value>100000

2. Design a Menu using Visual Basic Program II (30)

REG.No

Algorithm (10)

Program I (30)

Output (20)

Viva (10)

Total (100)

1. Design and implementation of employee details using nested and join queries. 2. Design a form using Visual Basic Program II (30)

REG.No

Algorithm (10)

Program I (30)

Output (20)

Viva (10)

Total (100)

You might also like