144 BCA Honors MAJOR Dbms Syllabus
144 BCA Honors MAJOR Dbms Syllabus
Course Objectives:
Graduates will have the expertise in analyzing real time problems and providing
appropriate solutions related to Computer Science & Engineering.
Graduates will have the knowledge of fundamental principles and innovative
technologies to succeed in higher studies and research.
Graduates will continue to learn and to adapt technology developments combined with
deep awareness of ethical responsibilities in profession.
Course Outcomes:
An ability to apply Knowledge of computing and mathematics in Computer Science & Engineering.
An ability to analyze a problem, identify and define the computing requirements
appropriate to its solution.
An ability to design, implement and evaluate a computer-based system to meet desired
needs with appropriate societal considerations.
An ability to conduct investigations, interpret data and provide conclusions in
investigating complex problems related to Computer Science & Engineering.
An ability to engage in continuing professional development and life-long learning.
UNIT- I
Data Models: Introduction; types of data models, Concepts of Schema, Instance and data
independence; Three tier schema architecture for data independence; Database system structure,
environment, Centralized and Client Server architecture for the database.
Case Study:
1. Describe the differences between Database systems and File based systems
2. Study about database models and their advantages and dis-advantages
UNIT- II
Relational Model: Introduction to relational model, Codd’s rules, concepts of domain, attribute,
tuple, relation, constraints (Domain, Key constraints, integrity constraints) and their importance ,
concept of keys (super key, candidate key, primary key, surrogate key, foreign key) , relational
Algebra & relational calculus.
Normalization: Purpose of Normalization or schema refinement, concept of functional dependency,
normal forms based on functional dependency(1NF, 2NF and 3 NF), Boyce-codd normal
form(BCNF)
Case Study:
Describe Relational model and normalization for database design
UNIT - III:
BASIC SQL: Database schema, data types, DDL operations (create, alter, drop, rename), DML
operations (insert, delete, update), basic SQL querying (select and project) using where clause,
arithmetic & logical operations, aggregation, grouping, ordering.
Case Study:
1. Examine issues in data storage and query processing using SQL.
2. Create, maintain and manipulate a relational database using SQL
UNIT - IV
SQL: Nested queries/ sub queries, implementation of different types of joins, SQL functions(Date,
Numeric, String, Conversion functions), Creating tables with relationship, implementation of key
and integrity constraints, views, relational set operations , Transaction Control Language: commit,
Rollback, Savepoint , DCL :Grant, Revoke
Case Study:
1. Try to convert some sample data to information and show how it can you be used
in decision making.
UNIT –V
Case Study:
Outline the role and issues in Transaction management of data such as efficiency, privacy, security.
Database management systems Text Books
Database Management Systems, 3rd Edition , Raghurama Krishnan, Johannes Gehrke, TMH
Database System Concepts,5th Edition , Silberschatz, Korth, TMH
SEMESTER-III
COURSE 5: DATABASE MANAGEMENT SYSTEM
Practical Credits: 1 2 hrs/week
List of Experiments
SQL :
Cycle-I: Aim: Marketing company wishes to computerize their operations by using
following tables.
ADDRESSS Varchar2 30
CITY Varchar2 15
PINCODE Varchar2 8
STATE Varchar2 15
Data
ColumnName Type Size Attribut
e
Primary key
SALESMAN_NO Varchar2 6
SALESMAN_NAME Varchar2 20 Not null
ADDRESS1 Varchar2 30
Varchar2
ADDRESS2 30
Varchar2
CITY 20
Number
PINCODE 8
Vachar2
STATE 20
Number
SAL_AMT 8,2 Not null, cannotbe0
Number
TGT_TO_GET 6,2 Not null, cannotbe0
Cycle-II Supplier
Aim: A manufacturing company deals with various parts and various suppliers
supply these parts. It consists of three tables to record its entire information. Those
are as follows.
Supplier (Supplier_No, Sname, City, status) Part(Part_no, pname, color, weight, city, cost)
Shipment (supplier_No, Part_no, city) JX(project_no, project_name, city)
SPJX(Supplier_no, part_no, project_no,city)
1. Get supplier numbers and status for suppliers in Chennai with status>20.
2. Get project names for projects supplied by supplier ’S’.
3. Get colors of parts supplied by supplier S’.
4. Get part numbers for parts supplied to any project in Mumbai.
5. Find the id’s of suppliers who supply a red or pink parts.
Cycle–III EmployeeDatabase
Aim: An enterprise wishes to maintain a database to automate its operations. Enterprise divided
into a certain departments and each department consists of employees. The following two tables
describes the automation schemas.
1. List the details of employees who have joined before the end of September ’81.
2. List the name of the employee and designation of the employee, who does not report to
anybody.
3. List the name,salary and PF amount of all the employees(PF is calculated as10%of
salary)
4. List the names of employees who are more than 2 years old in the organization.
5. Determine the number of employees, who are taking commission.
6. Update the employee salary by 20%,whose experience is greater than 12 years.
7. Determine the department does not contain any employees.
8. Create a view, which contains employee name and their manager names
working in sales department.
9. Determine the employees, whose total salary is like the minimum
salary of any department.
10. List the department numbers and number of employees in each department.
PL/SQL PROGRAMS