Rule-0 to Rule-4

Duration: 17 min

This video lesson is available to enrolled students.

Return to /learn/GATE-GUIDANCE-BY-SANCHIT-SIR/database-management-systemdbms/normalization-1nf-bcnf/codds-12-rules/asset-rule-0-to-rule-4 after enrolling

Inside: a video lesson and guided study material.

Module outline

  1. Discrete Mathematics: Set Theory, Relations, Functions, Graph Theory, Group Theory, Propositional and Predicate Logic
  2. DataBase Management System/DBMS: Basics of DBMS, ER Diagram, Relational Model & Functional Dependencies, Keys & Integrity Constraints, Normalization (1NF - BCNF), Decomposition Properties & 4NF, File Organization & Indexing, Relational Algebra, SQL, Relational Calculus, Transaction Management, Concurrency Control
  3. Digital Electronics: Digital Systems & Boolean Basics, Logic Gates & Hardware, Boolean Expression, Boolean Minimization, Combinational Circuit, Sequential Circuits, Number System, Number Representation
  4. Computer Architecture: Floating Point Rep, Cache Memory Organization, Input Output Organisation, Pipelining, Instr Formats & Modes, Control Unit Design
  5. Operating System: Introduction to OS, Process Management, CPU Scheduling, Process Synchronization, Threads & Process Creation, Deadlock, Memory Management, Virtual Memory, Disc Scheduling, File Management
  6. C Language: C Fundamentals, Control Flow, Functions, Arrays & Pointers, Storage Classes, Structures & Enums, DMA, Macros, Scoping & File Handling
  7. Data Structures: Introduction to DS, Array, Stack, Queue, Linked List, Tree, Graphs, Hashing
  8. Algorithms: Algorithm Analysis, Time Complexity Analysis, Sorting Algorithms, Greedy Algorithms, Dynamic Programming, Minimum Spanning Trees, Shortest Path Algos
  9. Computer Networks: Introduction to CN, DLL: Access Control, DLL: Flow Control, DLL: Error Control, Data Link Layer - Ethernet, Net Layer: IPv4 & Proto, Net Layer: IP Addressing, Net Layer:Routing Protocol, Transport Layer Services, TL: Congestion & UDP, Application Layer, Hardware Basics
  10. Theory Of Computation/Automata Theory: Introduction to TOC, Deterministic FA (DFA), Non-Deterministic FA, Regular Expressions, Grammar, Regular Language Properties, Moore & Mealy Machines, Pushdown Automata & CFG, Turing Machines, Complexity Theory
  11. Compiler Design: Intro to Compilers, Lexical Analysis, Grammar & CFG, Syntax Analysis: Top-Down, Syntax Analysis: Bottom-Up, Semantic Analysis & SDT, Intermediate Code Gen, Code Optimization, Run Time Environment
  12. Engineering Mathematics: Permutation and Combination, Linear Algebra, Calculus, Probability, Statistics, Signal Space and Optimum Detection, Probability, Statistics, Combinatorics
  13. General Aptitude: Ratio and Proportion (Ratios), Data Interpretation, Logarithm, Number System, HCF LCM, Sequence and Series (Series), Speed Time and Distance, Series (Number and Letter Series) (Numerical Relations and Reasoning), Coding Decoding, Data Sufficiency, Non Verbal Reasoning (Spatial Aptitude) (Spatial Reasoning) (Visual Reasoning), Percentage, Mensuration and Geometry, Mental Ability, Arithmetic, Profit and Loss, Powers and Exponents (Surds and Indices), Average, Deductive and Inductive Reasoning (Logical Deduction and Induction) (Prepositional Reasoning), Syllogisms, Venn Diagram, Seating Arrangements, Blood Relations, Directions (Direction Test), Analogy, Algebra, Analytical Reasoning (Counting Figures Reasoning), Puzzle Solving (Puzzles), Cubes & Dices, Ranking, Order and Sequence, Mixture and Alligation, Age Problems, Clock, Selection Decision Table (Decision Making), Data Arrangement, Ratio and Proportion, Vocabulary, Averages, Mixtures and Alligation, Percentages, Subject-Verb Agreement, Sentence Completion, Geometry, Reading Comprehension, Statistics, Three-Dimensional Patterns and Visualization, Permutations and Combinations, Trigonometry, Simplification and Approximation, Constraint Puzzles, Numerical Reasoning, Series Completion, Analogy and Classification, Patterns in Two-Dimensional Figures, Coding and Decoding, Mathematical Operations, Direction Sense, Assembling and Grouping of Shapes, Cubes and Dice, Profit, Loss and Discount, Mensuration, Probability, Measurement and Quantity Take-Off, Sentence Structure and Correction, Critical Reasoning, Syllogisms and Venn Diagrams, Order, Ranking and Sequence, Logical Deduction and Induction, Narrative Sequencing, Project Monitoring, Resources and Safety, Traverse Surveying, Clocks and Calendars, Time and Work, Algebra, Data Interpretation, Speed, Time and Distance, Data Sufficiency, Blood Relations, Simple Interest and Compound Interest, Calendar, Alphabet and Word Tests, Sequences and Series, Powers, Surds and Logarithms, Number System, Transformation of Shapes
  14. English (Verbal Aptitude): Vocabulary, Noun, Subject Verb Agreement (Verb Noun Agreement), Adjectives, Tenses, Pronoun, Preposition, Direct and Indirect Speech, Sentence Re-arrangements (Para Jumbles) (Narrative Sequencing), Comprehension / Reading Comprehension / Unseen Passages (Critical Reasoning) (Paragraph Questions), Sentence Correction (Error Correction), Verbal Analogy (Word Based Analogy), Conjunction, Verb, Articles, Adverb, Modals, Prepositions and Conjunctions, Idioms and Phrases, Verb Forms and Verb Patterns, Sentence Basics, Nouns and Pronouns, Articles and Determiners, Adjectives and Adverbs, Modals, Conditionals and Subjunctive, Voice and Reported Speech, Blood Relations, Tenses, Vocabulary
  15. Live Classes Recordings(Earlier Batch): GATE 2026 Live Class
  16. Full Mock Test:
  17. Previous Year Papers:
  18. GATE 2026 Counselling: Counselling and Guidance Sessions
AI summary & chapters

AI Summary

An AI-generated summary of this video lecture.

This lecture introduces Codd's foundational rules for relational database systems, progressing sequentially from Rule 0 through Rule 4. The session begins with Rule 0, the Foundation Rule, which states that a database claiming to be relational must manage data entirely through its relational capabilities. A central diagram illustrates this by showing Students, Courses, and Enrollments tables feeding into an RDBMS cylinder, which in turn exposes five standard SQL operations: CREATE, SELECT, INSERT, UPDATE, and DELETE. The instructor emphasizes that users should access and manipulate data using these relational operations rather than low-level file operations. The lesson then transitions to Rule 1, the Information Rule, using a Students table with RollNo, Name, and Branch columns. The instructor annotates the table to distinguish rows (records) from columns (attributes), reinforcing that all data must be represented as values in tables. Next, Rule 2, the Guaranteed Access Rule, is demonstrated with the query "SELECT Branch FROM Student WHERE RollNo = 1;". The instructor labels the target column, table name, and primary key, showing how a query against a primary key guarantees access to a specific row, returning Branch CSE for Rohan. Rule 3, the Systematic Treatment of NULL Values, is then explained using an Employee table where row 102 (Neha) has a NULL in the Department column, representing missing or unknown information that must be handled systematically. Finally, Rule 4, the Dynamic Online Catalog, is introduced with the query "SELECT table_name FROM information_schema.tables;". A System Catalog table lists metadata for tables such as student, course, enrollment, employee, and department, demonstrating that metadata itself is stored in relational form and accessible through standard queries.

Chapters

  1. 0:00 – 2:00 00:00-02:00

    The lecture opens with Rule 0: Foundation Rule, defining that a relational database must manage data entirely through its relational capabilities. A diagram shows Students, Courses, and Enrollments tables pointing to an RDBMS cylinder, which connects to five SQL operation boxes: CREATE, SELECT, INSERT, UPDATE, and DELETE. The instructor highlights the phrase 'manage data entirely' and explains that users should use relational operations rather than low-level file operations.

  2. 2:00 – 5:00 02:00-05:00

    The instructor continues explaining Rule 0, circling SELECT, UPDATE, and DELETE to emphasize their role in data management. The slide then transitions to Rule 1: Information Rule, displaying a Students table with RollNo, Name, and Branch columns containing rows for Rohan, Neha, Amit, and Priya. The instructor introduces the concepts of Row (record) and Column (attribute) with colored callouts pointing to the first row and the RollNo column.

  3. 5:00 – 10:00 05:00-10:00

    Rule 1 is reinforced with red circles around 'values in tables' and checkmarks over header cells, emphasizing that all data must be represented as table values. The slide then switches to Rule 2: Guaranteed Access Rule, showing the query 'SELECT Branch FROM Student WHERE RollNo = 1;' with callout boxes labeling the target column, table name, and primary key. A green arrow points from the Student table to a Result table showing Branch CSE, demonstrating guaranteed access via primary key.

  4. 10:00 – 15:00 10:00-15:00

    The instructor progressively highlights 'table name', 'primary key', 'column name', 'Branch', 'RollNo', and the value '1' in the Rule 2 query. The slide then transitions to Rule 3: Systematic Treatment of NULL Values, where an Employee table shows row 102 (Neha) with a NULL in the Department column. A yellow callout reads 'Department unknown' beside a red question mark, illustrating that NULL represents missing or unknown information that must be handled systematically.

  5. 15:00 – 16:55 15:00-16:55

    The final segment introduces Rule 4: Dynamic Online Catalog, with a definition stating that metadata must be stored in relational form. A dark code block displays the query 'SELECT table_name FROM information_schema.tables;' with 'table_name' and 'information_schema.tables' highlighted. A System Catalog table lists rows for student, course, enrollment, employee, and department under columns table_name, table_schema, and table_type, demonstrating that metadata is accessible through standard relational queries.

The lecture systematically builds understanding of relational database rules by moving from foundational principles to specific implementation details. Rule 0 establishes the core requirement that all data management must occur through relational capabilities, visualized through the RDBMS diagram connecting tables to SQL operations. Rule 1 reinforces this by defining the basic data structures (rows and columns) that must contain all information. Rule 2 demonstrates practical access guarantees through primary key queries, using a concrete example to show how a specific row can be reliably retrieved. Rule 3 addresses the edge case of missing data, establishing that NULL values must be handled systematically rather than ignored. Rule 4 completes the progression by showing that even metadata about the database structure is stored relationally and accessible through standard queries. The teaching flow uses consistent visual patterns: definitions followed by examples, diagrams connecting abstract concepts to concrete tables, and progressive highlighting of key terms to guide student attention. Each rule builds on the previous one, creating a coherent framework for understanding what makes a database truly relational.

Loading lesson…