Fundamentals of Database Systems Notes | B.Sc. (Computer Science) Semester 1 | Mumbai University | munotes
Official Notes munotes.in
Fundamentals of Database Systems
B.SC. (COMPUTER SCIENCE) · SEMESTER 1
Strictly as per the University of Mumbai NEP syllabus in force for B.Sc. (Computer Science)
For B.Sc. (Computer Science) students of the University of Mumbai and all its affiliated colleges
Open the book ↓munotes.in First Year
Contents
Module I Introduction to DBMS, data models, the ER model and ER to table, DDL and DML statements
- What a Database Is, and What a DBMS Does 1
- Why Not Just Files: the Advantages of a DBMS 6
- The Three Levels of Abstraction 10
- Data Independence 14
- The Architecture of a DBMS 18
- What a Data Model Is 22
- Client/Server Architecture 26
- Object Based Logical Models 30
- Record Based Logical Models: Relational, Hierarchical and Network 34
- The Entity Relationship Model: Entities, Attributes and Entity Sets 38
- Relationships and Relationship Sets 42
- Key Constraints and the Cardinality of a Relationship 46
- Participation Constraints 50
- Weak Entity Sets 54
- Generalization, Specialization and Aggregation 58
- Conceptual Design: Entity or Attribute 62
- Conceptual Design: Entity or Relationship 66
- Conceptual Design: Binary or Ternary 70
- Constraints Beyond the ER Model 73
- Turning an Entity Set Into a Table 77
- Turning a Relationship Set Into Tables 81
- Meeting MySQL: the Server, the Client and Your First Database 85
- Data Types 89
- Creating a Table 94
- Integrity Constraints: PRIMARY KEY, NOT NULL, DEFAULT and CHECK 98
- Altering a Table 102
- Renaming, Dropping and Truncating Tables 106
- Viewing the Structure of a Table 109
- INSERT: Putting Rows In 112
- UPDATE and DELETE: Changing and Removing Rows 116
- SELECT: All Columns and Named Columns 120
- DISTINCT: Unique Records 124
- The WHERE Clause 127
- IN and BETWEEN 131
- ORDER BY and LIMIT 135
- Aggregate Functions: COUNT, MIN, MAX, AVG and SUM 139
- GROUP BY 142
- HAVING 146
Module II The relational data model, functions, joins and subqueries, normal forms, database protection, views and DCL
- The Relational Data Model: Domains, Attributes, Tuples and Relations 150
- Relational Model Notation 154
- Characteristics of Relations 157
- Relational Constraints: the Primary Key 161
- Referential Integrity and the Foreign Key 165
- UNIQUE, NOT NULL and CHECK Constraints 170
- String Functions 174
- Math Functions 178
- Date and Time Functions 181
- The Inner Join 185
- The Outer Joins, and What MySQL Does About FULL OUTER 190
- Subqueries with IN and EXISTS 195
- Nested Subqueries, and What a Subquery May Not Do 199
- ANY and ALL 203
- Correlated Subqueries 207
- Functional Dependencies 211
- First Normal Form 216
- Second Normal Form 220
- Third Normal Form 224
- Boyce Codd Normal Form 228
- Lossless Join Decomposition 233
- Security Issues and Threats to Databases 238
- Security Mechanisms 242
- The Role of the Database Administrator 246
- Discretionary Access Control 250
- Backing Up and Restoring a Database 254
- Views: Creating, Selecting and Dropping 258
- Altering, Renaming and Updating Through a View 262
- Creating and Dropping Users 267
- Granting and Revoking Privileges 271
- Transactions: COMMIT and ROLLBACK 275
- Indexes, and the Part They Play in a Fast Search 279
Module P Computer Science Practical 1: the ten practicals set on this subject
- Practical: Setting Up MySQL and Keeping the Journal 284
- Practical 1: Conceptual Design With an ER Diagram 288
- Practical 2: Database Management Operations and CRUD 292
- Practical 3: Table Management, Backup and Restore 295
- Practical 4: Simple Queries and Aggregate Functions 298
- Practical 5: Date, String and Math Functions 300
- Practical 6: Inner and Outer Join Queries 303
- Practical 7: Subqueries With IN and EXISTS 306
- Practical 8: ER Model to Relational Model, and Normalization 309
- Practical 9: Views With and Without the Check Option 313
- Practical 10: DCL Statements, COMMIT and ROLLBACK 316
The chapters
Every chapter of this book comes with the B.Sc. (Computer Science) Semester 1 notes.
The cover and the contents are free to look through. Buy the notes once to read every chapter of every subject in this semester.
Notes: ₹499 Already bought it? Sign in
Free either way: question papers, the syllabus, and the cover and contents of every book.
The rest of this subject
These notes are cut from the University's printed syllabus. Open the syllabus itself for the same subject.