Mca 207
Mca 207
Course Objectives:
To understand the different issues involved in the design and implementation of a
database system.
To study the physical and logical database designs, database modeling, and relational
models.
To understand and use SQL to query, update, and manage a database.
To develop an understanding of essential DBMS concepts such as: transaction
processing, integrity, concurrency, and recovery in databases.
To design and build a simple database system and demonstrate competence with the
fundamental tasks involved with modeling, designing, and implementing a DBMS.
List of Exercises
1. Create the student/employee Table and construct the following requires for the
database…
1..1. Create the table for student/employee.
1..2. Find out name of all students.
1..3. Retrieve the list of name and the city of all students.
1..4. List of all students/employee who stay in city “BOMBAY” or city DELHI”.
1..5. List of all students /employee who are located in “MADRAS”.
2. (1)Apply these Operations on employee table
2..1. Insert
2..2. Select
2..3. Update
2..4. Drop
2..5. Delete
2..6. Alter
3. Create table with attributes emp. No., emp. Name, Designation, Salary, and
Department no. Construct for following queries…..
.1 Display complete information of all the employees working as a manager.
.2 Display name of all the employees working as a clerk.
.3 Suppose DA for manager is 75% of salary then display name of all managers.
.4 Select names and designation whose salary is greater then 15000.
5. Apply key constraints as Primary Key, Foreign Key etc as per requirement.
4. Between operation- list of all Employee Name & DOJ (date of joining) to join the
Company in 2010
5. Join operation- list of all the employees along with their department information by
using join operation.
6. AND/OR operation- make a table that have an employee Perform AND/OR
operation.
7. Group by function-
Create the table for facilities having faculty-id, dept. no., designation name and
group by similar dept.no. Facilities by using count function.
8. Order by ACS function-
(a) Create a table for emp. Using following data:- emp. name, emp age, emp salary,
emp city & display the emp salary in ascending and descending order.
9. Max-Min function- create a table for student having similar attributes s_name,
S_marks, s_id, s_sec& remark.
i. Find the maximum marks obtained by student.
ii. Find the minimum marks obtained by student.
iii. Sum of all students marks using sum function.
iv. Find the average of marks using avg function.
COURSE OUTCOMES:
At the end of the course students will be able to
CO1.Designing and creating relational database systems using SQL,
CO2. Demonstrate the use of constraints and relational algebra operations.
CO3.Understand various advanced queries execution such as relational constraints, joins,
set operations, aggregate functions, triggers, views and embedded SQL.
CO4: Design and implement database applications on their own.
CO5: Understand of essential DBMS concepts such as: database security, integrity,
concurrency,