How prince-ohio/ktu-s4-pccsl408-dbms-lab-notes works
Purpose and Entry Point
This is a static, chapter-ordered Markdown curriculum for learning DBMS concepts and SQL, from relational modeling through advanced query construction. README.md is the navigation and usage entry point; readers consume chapters directly in repository order. There is no executable application, build pipeline, database instance, or runtime service.
1. DBMS and Relational Foundations
The opening material establishes why DBMSs exist and how relational databases organize data into tables and relations. It provides the conceptual base required before writing SQL.
• A) Introduction.md
• B) Introduction to RDBMS.md
• C) Data Types in RDBMS.md
2. Schema Identity and Data Modeling
This stage defines how data entities are represented and connected. Keys establish uniqueness and referential relationships; ER diagrams model entities, attributes, and relationships before implementation.
• D) Keys in RDBMS.md
• E) ER Diagram.md
Boundary: conceptual data design precedes SQL schema creation.
3. SQL Language Onboarding
Readers transition from DBMS theory to SQL syntax, command categories, and database interaction. This is the primary control-flow handoff from modeling concepts to executable query knowledge.
• F) Introduction to SQL.md
• G) DDL Commands.md
4. Schema Definition and Integrity
DDL creates, changes, and removes database structures, while constraints encode validity rules such as required, unique, defaulted, and checked values. Together, these chapters connect logical design to enforceable relational schemas.
• G) DDL Commands.md
• H) Constraints in SQL.md
• D) Keys in RDBMS.md
Boundary: these notes describe SQL concepts and examples, but do not provision or connect to a specific RDBMS.
5. Data Mutation and Filtering
The repository then covers writing and changing rows, followed by predicate logic for selecting targeted records. Update/delete content is separated for focused treatment of potentially destructive operations.
• I) DML Commands.md
• J) Comparison Operators.md
• K) UPDATE and DELETE.md
6. Query Transformation and Aggregation
This stage teaches deriving values, organizing result sets, filtering aggregate groups, and introducing conditional result logic. The flow is from row-level expressions to grouped analytical queries.
• L) Functions in SQL.md
• M) ORDER BY, GROUP BY, HAVING.md
• N) CASE Statement in SQL.md
7. Multi-Table and Nested Querying
The final advanced-query layer combines relational datasets through joins and expresses dependent or nested retrieval logic with subqueries. These chapters rely on earlier modeling, keys, predicates, and aggregation concepts.
• O) JOINS.md
• P) Subqueries in SQL.md
• D) Keys in RDBMS.md
Runtime, Infrastructure, and External Services
The material is portable Markdown intended for direct reading, revision, or optional conversion to PDF. No language runtime, package manager, database server, cloud infrastructure, API, or external service is represented in the repository tree.
Main entry points: D) Keys in RDBMS.md Keys · M) ORDER BY, GROUP BY, HAVING.md ORDER BY, GROUP BY, HAVING · G) DDL Commands.md DDL commands · O) JOINS.md JOINS
Components 17
Foundations
Relational concepts before SQL.
- DBMS introduction
A) Introduction.md - Relational databases
B) Introduction to RDBMS.md - RDBMS data types
C) Data Types in RDBMS.md
Data Modeling
Design concepts that precede schema creation.
- Keys · Defines identity and referential relationships.
D) Keys in RDBMS.md - ER diagrams
E) ER Diagram.md
SQL Core
SQL definition, mutation, and filtering.
- SQL introduction · Handoff from modeling to SQL knowledge.
F) Introduction to SQL.md - DDL commands · Creates and changes relational structures.
G) DDL Commands.md - SQL constraints · Encodes schema validity rules.
H) Constraints in SQL.md - DML commands
I) DML Commands.md - Comparison operators
J) Comparison Operators.md - UPDATE and DELETE · Focused destructive data changes.
K) UPDATE and DELETE.md
Advanced Querying
Transformation, aggregation, and multi-table retrieval.
- SQL functions
L) Functions in SQL.md - ORDER BY, GROUP BY, HAVING · Organizes and filters grouped results.
M) ORDER BY, GROUP BY, HAVING.md - CASE statements
N) CASE Statement in SQL.md - JOINS · Combines related relational datasets.
O) JOINS.md - Subqueries · Nested and dependent retrieval logic.
P) Subqueries in SQL.md
Other components
- README navigation · Chapter-ordered reading and usage guide.
README.md
Connections 19
- README navigation → DBMS introduction: starts curriculum
- DBMS introduction → Relational databases: introduces
- Relational databases → RDBMS data types: defines
- RDBMS data types → Keys: prepares
- Keys → ER diagrams: informs
- ER diagrams → SQL introduction: design before SQL
- SQL introduction → DDL commands: introduces
- Keys → DDL commands: guides schema identity
- DDL commands → SQL constraints: enforces schema rules
- SQL constraints → DML commands: governs row changes
- DML commands → Comparison operators: filters rows
- Comparison operators → UPDATE and DELETE: targets mutations
- UPDATE and DELETE → SQL functions: progresses to queries
- SQL functions → ORDER BY, GROUP BY, HAVING: derives then aggregates
- ORDER BY, GROUP BY, HAVING → CASE statements: adds conditional logic
- CASE statements → JOINS: advances to multi-table queries
- Keys → JOINS: relationship basis
- JOINS → Subqueries: advances to nested queries
- ORDER BY, GROUP BY, HAVING → Subqueries: supports nested analysis