CS312 : Database Modeling and Design

Course Overview

Course Synopsis

CS312 offers students an introduction to the design and modeling of database system. The students will cover Fact Finding Techniques, Process of Database Design, Conceptual Data Modeling and Entity Relationship Diagram Overview. Further, students will also cover Introduction to Oracle 11g on Cloud, Using Data Definition Language (DDL) in Oracle 11g, Using Data Manipulation Language (DML) and Data Control Language (DCL) in Oracle 11g.

Course Learning Outcomes

At the end of this course, you should be able to:

  • • State the importance of Data and Information
  • • Analyze the basic structure of Database and recognize the different views of the database.
  • • Draw and investigate Entity Relationship Diagram
  • • Use and experiment common Oracle 11g statements
  • • Explain the terms Transaction Processing and Concurrency Control


Course Calendar

1 Definition of Data
2 Example of Data
3 Definition of Information
4 Example of Information
5 Comparison of Data and Information
6 Example-1 and 2 to elaborate difference between Data and Information
7 Life with and without Database
8 Benefits of using Database
9 Why Database not Information Base
10 Difference between Database and Database Management System with Example
11 Example of Difference between Database and Database Management System
12 Component of Database Management System
13 Data Model Basics
14 Flat File Basics
15 How Flat Files Work
16 Hierarchal Databases Basics
17 How Hierarchal Database Work
18 Network Data Models
19 How Network Data Model Work

20 Introduction of Three Tier- Architecture
21 Rationale for Three-Tier Architecture
22 External Level (Client Interface)
23 Conceptual Level (Business Logic)
24 Internal Level (Data Level)
25 Layer Independence
26 Example: Presentation Layer of Independence
27 Examples-1 of Logical Layer Independence
28 Example of Data Layer Independence
29 Roles in Database Management System
30 Client Server Architecture
31 Example of Client Server Architecture
32 Distributed Processing
33 Example of Distributed Processing
34 Examine Document Basics
35 Documenting Examine Document
36 Conducting Interview: Basics
37 Types of Interview
38 Example of Types of Interview
39 Observe the enterprise in operation
40 Have and Have Not’s for Observing

41 Research Basics
42 Questionnaire
43 Examples of creating Questionnaires
44 From Fact-finding to Requirement Writing
45 Example of translating Interview to Requirements
46 Example of translating Questionnaire to Requirements
47 Defining System Definition from Requirements-I
48 Defining System Definition from Requirements-II
49 Process of extracting System Definition
50 Motivation for Requirements
51 Major Challenges in Requirements
52 Attributes of Siftware Requiremnets-Verifiable
53 Attributes of Software Requiremnets-Completeness
54 Attribute of Software Requirements-Consistent
55 Attribute of Software Requiremnets-Traceability
56 Requirement Engineering Discipline
57 Requirement Engineering
58 Example of Requirement Management
59 Requiremnet Development
60 Requirement Elicitation
61 Project Business Requirement
62 Example of Project Business Requirement
63 Get User Involvement
64 Defining Quality Metric[Ileitis]
65 Example of Reliability
66 Example of Robustness
67 Example of User Friendliness
68 Requirement Analysis
69 Requirement Prioritization
70 Requirement Specification
Quiz No.01
71 Requirement Verification
72 Inspect Requirement Specification
73 Bugs and Defects
Assignment No.1

74 Rule-1: Information Rule
75 Rule-2: Guaranteed Access
76 Rule-3: Systematic Handling of Null
77 Example Rule-3: Systematic Handling of Null
78 Rule-4: Active Online Catalogue
79 Rule-5: Powerful Language
80 Example Rule-5: Powerful Language
81 Rule-6: View Updation Rule
82 Rule-7: Relational Level Operation
83 Rule-8: Physical Data Independence
84 Rule-9: Logical Data Independence
85 Rule-10: Integrity Independence
86 Rule-11: Distribution Independence
87 Rule-12: Non-Subversion Rule
88 Database Schema
89 Database Schema with Example
90 Introduction to Keys
91 Structured Query Language
92 Data Definition Language(DDL)
93 Data Manipulation Language(DML)
94 Data Control Language(DCL)
95 Data Retrieval language(DRL)

96 Concept of ERD
97 Components of ERD
Quiz No.02
98 Entity
99 Attributes
100 Relationships
101 Process to Create ERD
102 Extracting Entities from Scenario
103 Extracting Attributes from Scenario
104 Primary Key
105 Identifying Primary Key from Sample Requirement
106 Super Key
107 Extracting Super Key from Scenario
108 Unique Key
109 Extracting Unique Key from Scenario
110 Candidate key

111 Foreign key
112 Example of Foreign Key
113 Composite Primary Key(CPK)
114 Example of Composite Key
115 Relationships.
116 Optionality with Example
117 Cardinality with Example
118 Basic Relationships
119 One-to-Many
120 Example of One-to-Many
121 Many-to-Many
122 Example Many-to-Many
123 One-to-One
124 Example of One-to-One
125 Referential Integrity Constraint
126 Cascading
127 Cascade Delete
128 Example of Cascade Delete
129 Cascade Update
130 Example of Cascade Update
131 Restrict Delete and Update
132 Surrogate Key
133 Example-1: Scenario and Generating ERD
134 Example-1: Generating Physical Models from ERD
135 Example-2: Scenario and Generating ERD
136 Example-2: Generating Physical Models from ERD
137 Example-3: Scenario and Generating ERD
138 Example-3: Generating Physical Models from ERD
GDB

139 What is Anomaly?
140 Why Anomalies are Critical
141 Insert Anomaly
142 Delete Anomaly
143 Update Anomaly
144 Need for EERD
145 Super Type
146 Sub Type
147 Example of Super Type and Subtype
148 Exhaustive
149 Example of Exhaustive
150 Mutually Exclusive
151 Example of Mutually Exclusive
152 Example of EERD

153 Normalization Basics
154 Normalization Through Reports
155 1st Normal Form(1NF)
156 Example of 1NF
157 2nd Normal Form(2NF)
158 Example of 2NF
159 3rd Normal Form(3NF)
160 Example of 3NF
161 Example of Normalization
162 Example of Normalization-2NF
163 Example of Normalization-3NF

164 What is Denormalization
165 Need for Denormalization
166 Normalization Vs Denormalization
167 When to Denormalize
168 Storing End Date
169 Storing Detail in Master
170 Example of Storing Detail in Master
171 Short-Circuit Key
172 Example of Short-Circuit Key
173 Current Indicator Column
174 Example of Current Indicator Column
175 Storing Calculating Value
176 Example of Storing Calculating Value

177 Oracle 11g on Cloud: Introduction
178 Oracle 11g on Cloud: Login Creation on Cloud
179 Oracle 11g on Cloud: Login to Cloud
180 Oracle 11g on Cloud: Exploring the Cloud
181 Create Table Syntax
182 Creating Single Table
183 Creating Table with Foreign Key
184 Describing a Table and SQL *Plus
185 Alter Table and Describing the Change
186 Implementing Delete Cascade Cascading
187 Drop Table

188 Insert Statement Syntax
Quiz No.03
189 Implementing Insert Statement
190 Viewing Data from Table
191 Limited Column Data Insertion
192 Update Table Syntax
193 Implementing Single Column Update Statement
194 Implementing Multiple Column Update Statement
195 Delete Statement Syntax
196 Implementing Delete Statement
197 Truncate Table
198 Transaction Basics
199 Commit Statement
200 Rollback Statement
Assignment No.2

201 SQL
202 SQL Syntax
Quiz No.04
203 Implementing SQL
204 SQL and WHERE Clause
205 Implementing SQL and WHERE Clause
206 SQL and Logical Operators
207 Implementing Logical Operator 01
208 Implementing Logical Operator 02
209 Wildcard Characteristics in SQL
210 Like Operator in SQL
211 LIKE Syntax
212 Implementing Like – 01
213 Implementing Like – 02
214 IN Operator
215 Implementing IN Operator
216 BETWEEN Operator
217 Implementing BETWEEN Operator
218 Single Row Function
219 Implementing Single Row Function
220 Group or Multiple Row Function
221 Implementing: Group Functions
222 GROUP BY Clause
223 Implementing GROUP BY Clause 01
224 Implementing GROUP BY Clause 02
225 HAVING Clause
226 Implementing HAVING Clause – 1
227 Implementing HAVING Clause – 2
228 ORDER BY Clause
229 Date Handling
230 Implementing Date Manipulation
231 Date Functions

232 Cartesian Product
233 Cartesian Product & Joins
234 Join or Inner Join
235 Join Example
236 Self-Join
237 Implementing Self-Joins - I
238 Implementing Self-Joins - II
239 Outer Join
240 Left Outer Join
241 Implementing Left Outer Join
242 Right Outer Join
243 Implementing Right Outer Join
244 Subquery Basics
245 Implementing Subqueries

246 Motivation for Views
247 Syntax of a View
248 Writing Views
249 Writing Complex Views
250 Data Dictionary Concepts
251 Using Data Dictionary Concepts
252 Data Dictionary and Views
253 Motivation for sequence
254 Syntax of Sequence
255 Implementing Sequence:
256 Sequence & DML

257 Index Basics
258 Searching Using Index
259 Creating Index in Oracle
260 Indexes and Data Dictionary
261 Transaction Basics.
262 Atomicity Property of Transaction
263 Consistency
264 Isolation
265 Durability
266 Concurrent Transaction
267 Lost Update Problem
268 Uncommitted Data

269 Rationale for Lock
270 Lock Basics
271 Granularity of Locks
272 Level of Locks
273 Deadlock
274 Deadlock Prevention
275 Deadlock Detection