Skip to main content
  1. Resources/
  2. Study Materials/
  3. Information Technology Engineering/
  4. IT Semester 3/
  5. Database Management (4331603)/

·
Milav Dabgar
Author
Milav Dabgar
Experienced lecturer in the electrical and electronic manufacturing industry. Skilled in Embedded Systems, Image Processing, Data Science, MATLAB, Python, STM32. Strong education professional with a Master’s degree in Communication Systems Engineering from L.D. College of Engineering - Ahmedabad.
Table of Contents

GUJARAT TECHNOLOGICAL UNIVERSITY (GTU)
#

Competency-focused Outcome-based Green Curriculum-2021 (COGC-2021) Semester-III
#

Course Title: Database Management
#

(Course Code: 4331603)

Diploma programme in which this course is offeredSemester in which offered
Information TechnologyThird

1. RATIONALE
#

Database management course introduces students to database design using various models, SQL commands, techniques and operation. This helps students to design ER-models to represent simple databases and convert them into relational tables, populate relational databases and formulate SQL queries on data.Students will improve database design through normalization. Students will understand how database systems must provide for the safety of the stored information, despite system crashes or attempts at unauthorized access. If data are to be shared among several users, the system must avoid possible anomalous results due to multiple users concurrently accessing the same data.

2. COMPETENCY
#

The purpose of this course is to help the student to attain the following industry identified competency through various teaching learning experiences:

  • a. Design database for a given application.
  • b. Perform various database operations.

3. COURSE OUTCOMES (COs)
#

The practical exercises, the underpinning knowledge and the relevant soft skills associated with this competency are to be developed in the student to display the following COs:

a)Explain the basic concepts of databases.

b)Design database using Entity relationship approach. c)Implement Relational algebra in a database. d)Apply SQL Commands for creating, manipulating and controlling databases. e)Apply concepts of normalization to design an optimal database. f)Explain transaction management concepts for concurrent use of database.

4. TEACHING AND EXAMINATION SCHEME
#

Teaching SchemeTeaching SchemeTeaching SchemeTotal CreditsExamination SchemeExamination SchemeExamination SchemeExamination SchemeExamination Scheme
(In Hours)(In Hours)(In Hours)(L+T/2+P/2)Theory MarksTheory MarksPractical MarksPractical MarksTotal
LTPCCAESECAESEMarks
304530*702525150

(*): Out of 30 marks under the theory CA, 10 marks are for assessment of the micro-project to facilitate integration of COs and the remaining 20 marks is the average of 2 tests to be

taken during the semester for the assessing the attainment of the cognitive domain UOs required for the attainment of the COs .

Legends: L -Lecture; T - Tutorial/Teacher Guided Theory Practice; P -Practical; C - Credit, CA -Continuous Assessment; ESE -End Semester Examination.

5. SUGGESTED PRACTICAL EXERCISES
#

The following practical outcomes (PrOs) are the sub-components of the COs. These PrOs need to be attained to achieve the COs.

Sr. No.Practical Outcomes (PrOs)Practical Outcomes (PrOs)Practical Outcomes (PrOs)Practical Outcomes (PrOs)Practical Outcomes (PrOs)Unit No.Approx. Hrs. required
1Prepare a report on current database trends, architecture and tools.Prepare a report on current database trends, architecture and tools.Prepare a report on current database trends, architecture and tools.Prepare a report on current database trends, architecture and tools.Prepare a report on current database trends, architecture and tools.12
2Draw ER-Diagram for Banking Management System and convert it relational schemaDraw ER-Diagram for Banking Management System and convert it relational schemaDraw ER-Diagram for Banking Management System and convert it relational schemaDraw ER-Diagram for Banking Management System and convert it relational schemaDraw ER-Diagram for Banking Management System and convert it relational schema24
3Aim: Design the below given schemas using SQL Command - ‘Create’. Decide the appropriate data type for each column. (a)Create a table ACCOUNT with column account number, name, city, balance, loan taken. (b)Create a LOAN table with column loan number, account number, loan amount, interest rate, loan date, remaining loan. (c)Create table INSTALLMENT with column loan number, installment number, installment date and amount. (d)Create table TRANSACTION with column account number, transaction date, amount, type of transaction, mode of payment. (e) Show the structure of above tables using ‘Describe’ command.Aim: Design the below given schemas using SQL Command - ‘Create’. Decide the appropriate data type for each column. (a)Create a table ACCOUNT with column account number, name, city, balance, loan taken. (b)Create a LOAN table with column loan number, account number, loan amount, interest rate, loan date, remaining loan. (c)Create table INSTALLMENT with column loan number, installment number, installment date and amount. (d)Create table TRANSACTION with column account number, transaction date, amount, type of transaction, mode of payment. (e) Show the structure of above tables using ‘Describe’ command.Aim: Design the below given schemas using SQL Command - ‘Create’. Decide the appropriate data type for each column. (a)Create a table ACCOUNT with column account number, name, city, balance, loan taken. (b)Create a LOAN table with column loan number, account number, loan amount, interest rate, loan date, remaining loan. (c)Create table INSTALLMENT with column loan number, installment number, installment date and amount. (d)Create table TRANSACTION with column account number, transaction date, amount, type of transaction, mode of payment. (e) Show the structure of above tables using ‘Describe’ command.Aim: Design the below given schemas using SQL Command - ‘Create’. Decide the appropriate data type for each column. (a)Create a table ACCOUNT with column account number, name, city, balance, loan taken. (b)Create a LOAN table with column loan number, account number, loan amount, interest rate, loan date, remaining loan. (c)Create table INSTALLMENT with column loan number, installment number, installment date and amount. (d)Create table TRANSACTION with column account number, transaction date, amount, type of transaction, mode of payment. (e) Show the structure of above tables using ‘Describe’ command.Aim: Design the below given schemas using SQL Command - ‘Create’. Decide the appropriate data type for each column. (a)Create a table ACCOUNT with column account number, name, city, balance, loan taken. (b)Create a LOAN table with column loan number, account number, loan amount, interest rate, loan date, remaining loan. (c)Create table INSTALLMENT with column loan number, installment number, installment date and amount. (d)Create table TRANSACTION with column account number, transaction date, amount, type of transaction, mode of payment. (e) Show the structure of above tables using ‘Describe’ command.32
4Aim: Insert data in above tables using SQL Command ‘Insert’. (a) AccountAim: Insert data in above tables using SQL Command ‘Insert’. (a) AccountAim: Insert data in above tables using SQL Command ‘Insert’. (a) AccountAim: Insert data in above tables using SQL Command ‘Insert’. (a) AccountAim: Insert data in above tables using SQL Command ‘Insert’. (a) Account32
4acc_noNameCityBalanceLoan _taken32
4A001Patel JigarMehsana50000YES32
4A002Patel RameshMehsana50000YES32
4A003Dave HardikAhmedabad75000NO32
4A004SoniHetalAhmedabad100000NO32
4A005SoniAtulVadodara100000YES32
Sr. No.Practical Outcomes (PrOs)Practical Outcomes (PrOs)Practical Outcomes (PrOs)Practical Outcomes (PrOs)Practical Outcomes (PrOs)Practical Outcomes (PrOs)Practical Outcomes (PrOs)Practical Outcomes (PrOs)Practical Outcomes (PrOs)Unit No.Approx. Hrs. required
(b) Transaction(b) Transaction(b) Transaction(b) Transaction(b) Transaction(b) Transaction(b) Transaction(b) Transaction(b) Transaction(b) Transaction
Acc_noTr_dateTr_dateAmtAmtType_of_trType_of_trMode_of_payMode_of_pay
A0011-may-201-may-201000010000DDCashCash
A0023-july-203-july-2050005000WWChequeCheque
A00312-Aug-2012-Aug-202500025000DDChequeCheque
A00415-may-2015-may-203000030000DDChequeCheque
A00522-oct-2022-oct-201500015000WWCashCash
(c) Loan(c) Loan(c) Loan(c) Loan(c) Loan(c) Loan(c) Loan(c) Loan(c) Loan(c) Loan
loan_ noacc_noloan_amtloan_amtInterest _rateInterest _rateloan_dateloan_dateremaining_ loan
L001A001 100000A001 100000771-jan-201-jan-207500075000
L002A002 300000A002 3000009918-may-2018-may-20150000150000
L003A005 500000A005 500000111115-june-2015-june-20300000300000
(d) Installment(d) Installment(d) Installment(d) Installment(d) Installment(d) Installment(d) Installment(d) Installment(d) Installment(d) Installment
Loan_noInst_noInst_noDateDateAmountAmount
L001I001I0012-Feb-042-Feb-041500015000
L002I002I00218-June-0418-June-042000020000
L003I003I00315-July-0415-July-042000020000
5Aim: Retrieve data from tables in Practical 2 using Data SQL command- ‘Select’ (a)Display all rows and all columns of table Transaction. (b)Display all rows and selected columns of table Installment. (c)Display selected rows and selected columns of table Account. (d)Display selected rows and all columns of table loan. (e)Display the branch wise balance from account table. (f)Display list of those branches that have balance greater than 1 Lakh rupees. (g)Display the list of customers in descending order of their name from account table.Aim: Retrieve data from tables in Practical 2 using Data SQL command- ‘Select’ (a)Display all rows and all columns of table Transaction. (b)Display all rows and selected columns of table Installment. (c)Display selected rows and selected columns of table Account. (d)Display selected rows and all columns of table loan. (e)Display the branch wise balance from account table. (f)Display list of those branches that have balance greater than 1 Lakh rupees. (g)Display the list of customers in descending order of their name from account table.Aim: Retrieve data from tables in Practical 2 using Data SQL command- ‘Select’ (a)Display all rows and all columns of table Transaction. (b)Display all rows and selected columns of table Installment. (c)Display selected rows and selected columns of table Account. (d)Display selected rows and all columns of table loan. (e)Display the branch wise balance from account table. (f)Display list of those branches that have balance greater than 1 Lakh rupees. (g)Display the list of customers in descending order of their name from account table.Aim: Retrieve data from tables in Practical 2 using Data SQL command- ‘Select’ (a)Display all rows and all columns of table Transaction. (b)Display all rows and selected columns of table Installment. (c)Display selected rows and selected columns of table Account. (d)Display selected rows and all columns of table loan. (e)Display the branch wise balance from account table. (f)Display list of those branches that have balance greater than 1 Lakh rupees. (g)Display the list of customers in descending order of their name from account table.Aim: Retrieve data from tables in Practical 2 using Data SQL command- ‘Select’ (a)Display all rows and all columns of table Transaction. (b)Display all rows and selected columns of table Installment. (c)Display selected rows and selected columns of table Account. (d)Display selected rows and all columns of table loan. (e)Display the branch wise balance from account table. (f)Display list of those branches that have balance greater than 1 Lakh rupees. (g)Display the list of customers in descending order of their name from account table.Aim: Retrieve data from tables in Practical 2 using Data SQL command- ‘Select’ (a)Display all rows and all columns of table Transaction. (b)Display all rows and selected columns of table Installment. (c)Display selected rows and selected columns of table Account. (d)Display selected rows and all columns of table loan. (e)Display the branch wise balance from account table. (f)Display list of those branches that have balance greater than 1 Lakh rupees. (g)Display the list of customers in descending order of their name from account table.Aim: Retrieve data from tables in Practical 2 using Data SQL command- ‘Select’ (a)Display all rows and all columns of table Transaction. (b)Display all rows and selected columns of table Installment. (c)Display selected rows and selected columns of table Account. (d)Display selected rows and all columns of table loan. (e)Display the branch wise balance from account table. (f)Display list of those branches that have balance greater than 1 Lakh rupees. (g)Display the list of customers in descending order of their name from account table.Aim: Retrieve data from tables in Practical 2 using Data SQL command- ‘Select’ (a)Display all rows and all columns of table Transaction. (b)Display all rows and selected columns of table Installment. (c)Display selected rows and selected columns of table Account. (d)Display selected rows and all columns of table loan. (e)Display the branch wise balance from account table. (f)Display list of those branches that have balance greater than 1 Lakh rupees. (g)Display the list of customers in descending order of their name from account table.Aim: Retrieve data from tables in Practical 2 using Data SQL command- ‘Select’ (a)Display all rows and all columns of table Transaction. (b)Display all rows and selected columns of table Installment. (c)Display selected rows and selected columns of table Account. (d)Display selected rows and all columns of table loan. (e)Display the branch wise balance from account table. (f)Display list of those branches that have balance greater than 1 Lakh rupees. (g)Display the list of customers in descending order of their name from account table.32
6(h)Display those records where mode of payment is ‘cheque’ Aim: Write SQL queries to use Update, alter, rename, delete, truncate and distinct.(h)Display those records where mode of payment is ‘cheque’ Aim: Write SQL queries to use Update, alter, rename, delete, truncate and distinct.(h)Display those records where mode of payment is ‘cheque’ Aim: Write SQL queries to use Update, alter, rename, delete, truncate and distinct.(h)Display those records where mode of payment is ‘cheque’ Aim: Write SQL queries to use Update, alter, rename, delete, truncate and distinct.(h)Display those records where mode of payment is ‘cheque’ Aim: Write SQL queries to use Update, alter, rename, delete, truncate and distinct.(h)Display those records where mode of payment is ‘cheque’ Aim: Write SQL queries to use Update, alter, rename, delete, truncate and distinct.(h)Display those records where mode of payment is ‘cheque’ Aim: Write SQL queries to use Update, alter, rename, delete, truncate and distinct.(h)Display those records where mode of payment is ‘cheque’ Aim: Write SQL queries to use Update, alter, rename, delete, truncate and distinct.(h)Display those records where mode of payment is ‘cheque’ Aim: Write SQL queries to use Update, alter, rename, delete, truncate and distinct.38
Sr. No.Practical Outcomes (PrOs)Unit No.Approx. Hrs. required
Table: ACCOUNT. (a)Change the name ‘pateljigar’ to ‘patelhiren’. (b)Change the name and city where account number is A005. (new name = ‘kotharinehal’and new city = ‘patan’). (c)Display only those records where loan taken status is ‘YES’. (d)Add the new column (address varchar2 (20)) into table ACCOUNT. (e)Create another table ACCOUNT_TEMP (acc_no, name, balance) from table ACCOUNT. (f)Rename the table ACCOUNT to ACCOUNT_MASTER. (g)Update the column balance for all the account holders. (Multiply the balance by 2 foreach account holders) (h)Delete the records whose account no is A004 Table: LOAN. (a)For each loan holders Add 100000 Rs. Amount into the column loan_amt. (b)For each loan holders Increase the interest rate 2%. (c)Display only those records where loan holder taken a loan in month of January. (d)Modify the structure of table LOAN by adding one column credit_no varchar2 (4). (e)Display the Loan amount*2 of table LOAN. (f)Display the records of table LOAN by date wise in ascending order. (g)Display the records of table LOAN by account number wise in descending Order. (h)Increase the size 5 to 7 of column acc_no. Table: INSTALLMENT. (a)Change the Inst_Date ‘2-Feb-04’ to ‘3-Mar-04’. (b)Reduce 5000 amount from all Installment holders. (c)Add the amount 5000 where loan no is ‘L003’ and ‘L002’. (d)Change the column size of 5 to 7 where column name is Loan_no. (e)Delete row where inst_no is ‘I001’. (f)Only create a structure of table installment1 from table installment. Table: TRANSACTION. (a)Insert any duplicate value and display all the records without any duplicate rows. (b)Select all the records in descending order(account number wise).
Sr. No.Practical Outcomes (PrOs)Unit No.Approx. Hrs. required
(d)Delete a table TRANSACTION_TEMP. (e)Display account number where type of transaction is ‘D’.
7Aim: Write SQL queries to use various date functions. (a)Add 3 months in current date. (b)Display months between date: ‘17-02-04’ and ‘17-02-05’. (c)Display last date of month ‘2-feb-06’. (d)If the date is 31-jul-13 then find out the date of friendship day.32
8Aim: Write SQL queries to use various numeric functions (a)Display integer value of 125.25. (b)Display absolute value of(-15) (c)Display ceil value of 55.65 (d)Display floor value of 100.2 (e)Display the square root of 16. (f)Display square root of 20. (g)Display result of 12 raised to 6. (h)Display result of 24 mod 2. (i)Show value of e3. (j)2 is angle in radius find out cos, sin, tan value of 2.32
9Aim: Write SQL queries to use various character functions. (a)Find out length of string ‘hello world’. (b)Change the case of ‘HELLO WORLD’ string to lower case. (c)Change the case of ‘hello world’ to upper case. (d)Display each word initial letter as capital letter : government polytechnic for girls. (e)Find ‘put’ from string ‘computer’. (f)Add 10 star on left side of India string. (g)Add 10 star on right side of India string. (h)Trim ‘ion’ from ‘information’. (i)Trim ‘info’ from ‘information’.32
10Aim: Write SQL queries to use various conversion functions (a)Convert 100000 in format 99,99,99 (b)Convert today’s date to MM-DD-YY format32
11Aim: Write SQL queries to use various group function and operators using tables created in Practical 1. (a)Retrieve specified information for the account holder who are not in ‘Ahmedabad’. (b)Retrieve specified information for the account holder who arenot in ‘Ahmedabad’or ‘Vadodara’. (c)Retrieve those records of Account holder whose balance between is 50000 and 100000. (d)Retrieve those records of Account holder whose balance not between is 50000 and 100000. (e)Display only those records whose amount is 5000, 25000,34
Sr. No.Practical Outcomes (PrOs)Unit No.Approx. Hrs. required
30000. (f)Display only those records whose amount not in 5000, 25000, 30000. (g)Find the total transaction amount of account holder from transaction table. (h)Find minimum amount of transaction. (i)Find maximum amount of transaction. (j)Count the total account holders. (k)Count only that recordthat’s made of payment is ‘cash’. (l)Count only those records whose transaction made in the month of ‘MAY’ (m)Find the average value of transaction. (n)Display total balance for each branch from account table. (o)Display total balance for account in Ahmadabad city. (p)Find total amount of mode of pay ‘cash’ from transaction table.
12Aim: Write SQL query for set operators and join operations.(Use tables of Practical 1) (a)Display all customer account number who have account or taken loan from bank. (b)Display all customer account number who have account and also taken loan from bank. (c)Find the list of all account number of customer who have no loan in bank. (d)Display name of all customer whose remaining loan amount is greater than 50000. (e)Display account number of customer who have given installment of their loan on date 18-June-04. (f)Display name of all customer who have selected mode of payment as cash.34
13Aim: Apply the concept of integrity/data constraints while creating/altering a table: (a)Create table SalesPeople where Snumvarchar2(4) P.K (first letter should start with S) , Sname varchar2(20) NOT NULL ,City Varchar2(15),Mobile_No Number(10). (b)Create table Customer where cnum varchar2(4) P.K (first letter should start with C), Cname varchar2(20) NOT NULL ,city varchar2(20),Rating number(3) DEFAULT 10,Snum number(4) F.K (where snum refers salespeople table) (c)Create table Order where Order_No number(4) P.K , Amount number(5), odate varchar2(10), cnum varchar2(4) F.K ,(where cnum refers customer table), snum varchar2(4) F.K (where snum refers Salespeople table)32
14Aim: Write SQL queries for CREATE USER,GRANT,REVOKE AND DROP USER command.32
Sr. No.Practical Outcomes (PrOs)Unit No.Approx. Hrs. required
(a)Create a new user User1. (b)Grant connect, resource and dba rights to user1. (c)Grant all permissions of account table to user1. (d)Remove select permission on account table for user1. (e)Delete user1.
15Write a program in PL/SQL to show the user of Cursor.32
16Write a program in PL/SQL to show the user of Stored Procedures32
17Write a program in PL/SQL to show the user of Stored Function.32
18Write a program in PL/SQL to show the user of Database Triggers32
19Aim: Normalization of database. Consider the following relational schema: a)Employee(eid, ename, salary, mngr id, mngrname, mngrage,ecity) b)Student(no,name, bdate, city, semester, subname, submarks, percentage) For above schemas, answer the following questions:- a) Determine the primary key for given relation. b) Is there any pitfall in design of relation schema? Explain it. c) Find out various dependencies among given attributes of given relation schema. d) Normalize given relation schema up to possible normal form44
20Prepare a report on transaction management concepts for concurrent access of database by multiple users.54
Total56

Note
#

  • i. More Practical Exercises can be designed and offered by the respective course teacher to develop the industry relevant skills/outcomes to match the COs. The above table is only a suggestive list .
  • i. The following are some sample ‘Process’ and ‘Product’ related skills (more may be added/deleted depending on the course) that occur in the above listed Practical Exercises of this course required which are embedded in the COs and ultimately the competency..
Sr. No.Sample Performance Indicators for the PrOsWeightage in %
1Explain the basic concepts of databases8%
2Design ER Diagram for a given problem and map it to relational schema12%
3Perform SQL queries to create, store data or retrieve data from database.60%
4Normalize the given database.10%
5Explain transaction management concepts.10%
TotalTotal100

6. MAJOR EQUIPMENT/ INSTRUMENTS REQUIRED
#

These major equipment with broad specifications for the PrOs is a guide to procure them by the administrators to usher in uniformity of practical in all institutions across the state.

Sr. No.Equipment Name with Broad SpecificationsPrO. No.
1Desktop Computer P-IV processor or higherAll
2Oracle latest version3

7. AFFECTIVE DOMAIN OUTCOMES
#

The following sample Affective Domain Outcomes (ADOs) are embedded in many of the above mentioned COs and PrOs. More could be added to fulfil the development of this competency.

a)Work as a database administrator.

b)Follow ethical practices.

The ADOs are best developed through the laboratory/field based exercises. Moreover, the level of achievement of the ADOs according to Krathwohl’s ‘Affective Domain Taxonomy’ should gradually increase as planned below:

  • i. ‘Valuing Level’ in 1 st year
  • ii. ‘Organization Level’ in 2 nd year.
  • iii. ‘Characterization Level’ in 3 rd year.

9. UNDERPINNING THEORY
#

Only the major Underpinning Theory is formulated as higher level UOs of Revised Bloom’s taxonomy in order development of the COs and competency is not missed out by the students and teachers. If required, more such higher level UOs could be included by the course teacher to focus on attainment of COs and competency.

UnitUnit Outcomes (UOs) (4 to 6 UOs at Application and above level)Topics and Sub-topics
Unit - I Introduction to Database Systems1a. Describe basic concepts of database and its applications 1b. Differentiate between databases and file systems1.1 Introduction 1.1.1 Data and Information 1.1.2 Database and Database Management System 1.1.3 Metadata 1.1.4 Data items,fields & records 1.1.5 Data Dictionary 1.2 Purpose of Database System 1.3 File oriented System versus database system 1.4 Application of DBMS 1.5 Database Administrator 1.5.1 Roles and responsibilities of DBA 1.6 Schema, Sub-Schema,Instances
UnitUnit Outcomes (UOs) (4 to 6 UOs at Application and above level)Topics and Sub-topics
1c. Explain the concepts of data abstraction and data independence 1d. Explain the different types of data models1.7 Data Abstraction 1.7.1 Internal Level 1.7.2 Conceptual Level 1.7.3 External Level 1.8 Data Independence 1.9 Database Architecture 1.9.1 ER Model 1.9.2 Relational Model 1.9.3 Object oriented data model 1.9.4 Network Data Model 1.9.5 Hierarchical Data Model
Unit - II ER Model and Relational Algebra2a. Design ER Diagram for an application 2b. Convert ER Diagram to database2.1 Basic concepts of E-R 2.1.1 Entity 2.2.2 Attributes 2.2.3 Relationship 2.2.3.1 Participation 2.2.3.2 Recursive relationships 2.2.3.3 Degree of relationshipset 2.2 Mapping Cardinality 2.3 Key Constraints 2.3.1 Primary 2.3.2 Foreign 2.3.3 Super 2.3.4 Candidate 2.4 ER Diagrams 2.5 Weak Entity Sets 2.6 Enhanced ER Model 2.6.1 Subclass & Super Class 2.6.2 Generalization 2.6.3 Specialization 2.6.4 Aggregation
2c. Write relational algebra queries for an application.2.7 Converting ER Diagrams to database 2.8 Structure of Relational Databases 2.9 Operations and Queries of Relational algebra 2.9.1 The Select Operation 2.9.2 The Project Operation 2.9.3 The Union Operation 2.9.4 The Set Difference(Minus) Operation 2.9.5 The Set Intersection Operation 2.9.6 The Rename Operation 2.9.7 The Cartesian Product Operation
UnitUnit Outcomes (UOs) (4 to 6 UOs at Application and above level)Topics and Sub-topics
2.9.8 The Natural Join Operation 2.9.9 The Outer Join Operation 2.9.10 The Assignment Operation
Unit-III Structured Query Language3a. Write queries to create database, store and retrieve data from database3.1 SQL Data types 3.2 DDL Commands 3.2.1 create 3.2.2 alter 3.2.3 truncate 3.2.4 drop 3.3 DML Commands 3.3.1 insert 3.3.2 select 3.3.3 update 3.3.4 delete 3.4 Privilege command 3.4.1 grant 3.4.2 revoke
Unit-III Structured Query Language3b. Use SQL functions for different Operations3.6 Single row function 3.7 Date functions 3.8 Numeric &Character function 3.9 Conversion function 3.10 Miscellaneous function
Unit-III Structured Query Language3c. Write SQL sub-queries to retrieve data3.11 Group function 3.13 Operators 3.14 Arithmetic 3.15 Comparison 3.16 Logical Group by 3.17 Having and order by clause 3.18 Set operators 3.18.1 Union 3.18.2 union all 3.18.3 intersect 3.18.4 minus 3.19 Joins 3.19.1 simple join 3.19.2 equi join 3.19.3 non equi join 3.19.4 self join 3.19.5 outer join 3.20 Need of Constraints
Unit-III Structured Query Language3d. SQL Constraints3.21 Domain Integrity constraints 3.21.1 Not null

Note : The UOs need to be formulated at the ‘Application Level’ and above of ‘Revised Bloom’s Taxonomy’ to accelerate the attainment of the COs and the competency.

UnitUnit Outcomes (UOs) (4 to 6 UOs at Application and above level)Topics and Sub-topics
3.21.2 Check 3.22 Entity Integrity constraints 3.22.1 Unique 3.22.2 Primary key 3.23 Referential integrity Constraints 3.23.1 Foreign key 3.23.2 Reference key
3e. Apply PL/SQL Concepts3.24 Cursors 3.25 Stored Procedures 3.26 Stored Function 3.27 Database Triggers
Unit- IV Refining database design through Normalization4a. Describe the Normalization process. 4b. Design database using different levels of normalization4.1 Importance of Normalization 4.2 Functional Dependencies 4.2.1 Partial Functional Dependency 4.2.2 Full Functional Dependency 4.2.3 Transitive Dependency 4.3 Normal Forms 4.3.1 First Normal Form 4.3.2 Second Normal Form 4.3.3 Third Normal Form
Unit- V Transaction Management5a. Apply transaction concepts 5b. Use Serializability 5c.Understandconcurrent transaction problems and their solutions.5.1 Transaction concepts, properties of transactions. 5.2 Serializability of transactions 5.3Concurrent executions of transactions and related problems. 5.4Locking mechanism, solution to concurrency related problems, deadlock.

10. SUGGESTED SPECIFICATION TABLE FOR QUESTION PAPER DESIGN
#

A

TeachingDistribution of Theory MarksDistribution of Theory MarksDistribution of Theory MarksDistribution of Theory Marks
Unit No.Unit TitleHoursR LevelU LevelLevelTotal Marks
IIntroduction to Database Systems0644210
IIER Model and Relational Algebra1055616
IIIStructured Query Language16661022
IVRefining database design through Normalization0433612
VTransaction Management0624410
TotalTotal4220222870

Legends: R=Remember, U=Understand, A=Apply and above (Revised Bloom’s taxonomy) Note : This specification table provides general guidelines to assist student for their learning and to teachers to teach and question paper designers/setters to formulate test items/questions assess the attainment of the UOs. The actual distribution of marks at different taxonomy levels (of R, U and A) in the question paper may vary slightly from above table.

11. SUGGESTED STUDENT ACTIVITIES
#

Other than the classroom and laboratory learning, following are the suggested studentrelated co-curricular activities which can be undertaken to accelerate the attainment of the various outcomes in this course: Students should conduct following activities in group and prepare reports of about 5 pages for each activity, also collect/record physical evidences for their (student’s) portfolio which will be useful for their placement interviews:

  • a) Give a presentation on database case studies.
  • b) Visit a software company and discuss their practices adopted for database development.

12. SUGGESTED SPECIAL INSTRUCTIONAL STRATEGIES (if any)
#

These are sample strategies, which the teacher can use to accelerate the attainment of the various outcomes in this course:

  • a) Massive open online courses ( MOOCs ) may be used to teach various topics/sub topics.
  • b) Guide student(s) in undertaking micro-projects.
  • c) ‘L’ in section No. 4 means different types of teaching methods that are to be employed by teachers to develop the outcomes.
  • d) About 20% of the topics/sub-topics which are relatively simpler or descriptive in nature is to be given to the students for self-learning , but to be assessed using different assessment methods.
  • e) With respect to section No.11 , teachers need to ensure to create opportunities and provisions for co-curricular activities .

13. SUGGESTED MICRO-PROJECTS
#

Only one micro-project is planned to be undertaken by a student that needs to be assigned to him/her in the beginning of the semester. In the first four semesters, the micro-project are group-based. However, in the fifth and sixth semesters, it should be preferably be individually undertaken to build up the skill and confidence in every student to become problem solver so that s/he contributes to the projects of the industry. In special situations where groups have to be formed for micro-projects, the number of students in the group should not exceed three.

The micro-project could be industry application based, internet-based, workshop-based, laboratory-based or field-based. Each micro-project should encompass two or more COs which are in fact, an integration of PrOs, UOs and ADOs. Each student will have to maintain a dated work diary consisting of individual contributions in the project work and give a seminar presentation of it before submission. The total duration of the micro-project should not be less than 16 (sixteen) student engagement hours during the course. The student ought to submit a micro-project by the end of the semester to develop the industry orientedCOs.

A suggestive list of micro-projects is given here. This has to match the competency and the COs. Similar micro-projects could be added by the concerned course teacher: Students have to perform the following steps for any chosen project.

  • a) Choose any topic of your choice and enlist its requirements.
  • b) Draw an ER Diagram for your chosen topic and prepare tables, establish relationships between them.
  • c) Normalize the database.
  • d) Determine the different scenarios and how data will be fetched with queries.
  • e) Write the relational algebra queries for queries mentioned.

Sample Project Definitions: Hotel management,Event Management,Hospital Management,Health Monitoring Management System, Airline Management, Bank Management system, Transportation Management System, Library Management System.

14. SUGGESTED LEARNING RESOURCES
#

Sr. No .Title of BookAuthorPublication with place, year and ISBN
1Database System ConceptsHenry KorthTata McGraw Hill, New Delhi, 978-9390727506
2SQL/ Pl-SQLIvan BayrossBPB Publications, Delhi 978-8176569644
3An Introduction to Database SystemsC. J. DatePearson Education India 978-0321197849

15. SOFTWARE/LEARNING WEBSITES
#

16. PO-COMPETENCY-CO MAPPING
#

Semester IIIDatabase Management (4331604) POs and PSOsDatabase Management (4331604) POs and PSOsDatabase Management (4331604) POs and PSOsDatabase Management (4331604) POs and PSOsDatabase Management (4331604) POs and PSOsDatabase Management (4331604) POs and PSOsDatabase Management (4331604) POs and PSOsDatabase Management (4331604) POs and PSOs
Competency & Course OutcomesPO 1 Basic & Discipline specific knowledg ePO 2 Proble m Analysi sPO 3 Design/ develop ment of solutionsPO 4 Engineerin g Tools, Experimen tation &TestingPO 5 Engineering practices for society, sustainability & environmentPO 5 Engineering practices for society, sustainability & environmentPO 6 Project Manage mentPO 7 Life- long learnin g
CompetencyDesign database for a given application & perform various database operations.Design database for a given application & perform various database operations.Design database for a given application & perform various database operations.Design database for a given application & perform various database operations.Design database for a given application & perform various database operations.Design database for a given application & perform various database operations.Design database for a given application & perform various database operations.Design database for a given application & perform various database operations.
Course Outcomes CO a)Explain the basic concepts of databases.3-------
CO b)Design database using Entity relationship approach.2321-112
CO c) Implement Relational algebra in a database.21------
CO d) Apply SQL Commands for creating, manipulating and controlling databases.3233-111
CO e) Apply concepts of normalization to design an optimal database.232--222
CO f) Explain transaction management concepts for concurrent use of database.22------

Legend: ’ 3’ for high, ’ 2 ’ for medium, ‘1’ for low or ‘-’ for the relevant correlation of each competency, CO, with PO/ PSO

17. COURSE CURRICULUM DEVELOPMENT COMMITTEE
#

GTU Resource Persons
#

Sr. No.Name and DesignationInstituteEmail
1Miss Priti N. ParikhGGP, Ahmedabadpritigpit@gmail.com
2Mrs. Chandni H.ShahGGP, Ahmedabadchandni.it.engg@gmail.com
3Mrs. Nimisha K. RathodGGP, Ahmedabadnimisha.it.dte@gmail.com