{"id":23535006,"url":"https://github.com/techtalksofficial/mastering-rdbms","last_synced_at":"2025-11-01T00:30:27.598Z","repository":{"id":266359652,"uuid":"898085252","full_name":"TechTalksOfficial/Mastering-RDBMS","owner":"TechTalksOfficial","description":"Learn MySQL, SQL Server, and key DBMS concepts with practical examples and clear explanations.","archived":false,"fork":false,"pushed_at":"2024-12-03T20:30:46.000Z","size":40,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-26T01:14:17.153Z","etag":null,"topics":["database","database-management"],"latest_commit_sha":null,"homepage":"","language":"TSQL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TechTalksOfficial.png","metadata":{"files":{"readme":"README.MD","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-03T19:02:31.000Z","updated_at":"2024-12-04T17:44:19.000Z","dependencies_parsed_at":"2024-12-03T22:22:21.223Z","dependency_job_id":"d6375b50-1d8d-414d-b21c-f105463d9741","html_url":"https://github.com/TechTalksOfficial/Mastering-RDBMS","commit_stats":null,"previous_names":["techtalksofficial/mastering-rdbms"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechTalksOfficial%2FMastering-RDBMS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechTalksOfficial%2FMastering-RDBMS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechTalksOfficial%2FMastering-RDBMS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechTalksOfficial%2FMastering-RDBMS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TechTalksOfficial","download_url":"https://codeload.github.com/TechTalksOfficial/Mastering-RDBMS/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239242112,"owners_count":19605954,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["database","database-management"],"created_at":"2024-12-26T01:14:23.741Z","updated_at":"2025-11-01T00:30:27.533Z","avatar_url":"https://github.com/TechTalksOfficial.png","language":"TSQL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mastering RDBMS (Relational Database Management System)\n\n## Overview\n\nIn the field of database management, Database Management Systems (DBMS) are crucial for efficiently managing and manipulating data. DBMSs can be broadly classified into two types:\n\n1. **Relational DBMS (RDBMS)**\n2. **Non-Relational DBMS**\n\nA **Relational Database Management System (RDBMS)** is a type of DBMS that structures data into tables, with relationships defined between these tables to ensure data integrity and support complex queries.\n\n### Examples of RDBMS:\n\n- **MySQL**\n- **Microsoft SQL Server**\n- **PostgreSQL**\n- **Oracle**\n- **IBM DB2**\n\n## Repository Contents\n\nThis repository is designed to provide a comprehensive course on **MySQL** and **Microsoft SQL Server**, two widely used RDBMS platforms. The course covers fundamental and advanced topics, with each lecture focusing on a specific aspect of RDBMS.\n\n### Course Outline\n\nBelow is the list of lectures included in this course. Each lecture is accompanied by:\n\n- **Two SQL Files**: One for MySQL and one for SQL Server.\n- **Lecture Guide**: A detailed README file explaining the topic and SQL scripts.\n\n#### Lectures:\n\n1. **Lecture01-DatabaseAndTableCreationAndDataInsertion**  \n   - Overview of databases and tables  \n   - Creating databases and tables  \n   - Inserting data into tables  \n\n2. **Lecture02-DatabaseOperationsAndDataManipulation**  \n   - CRUD operations (Create, Read, Update, Delete)  \n   - Using `SELECT` with conditions (`WHERE`)  \n   - Data modification commands (`INSERT`, `UPDATE`, `DELETE`)  \n\n3. **Lecture03-AggregateFunctionsAndTableAlteration**  \n   - Using aggregate functions (`SUM`, `AVG`, `COUNT`, etc.)  \n   - Altering tables (adding/removing columns)  \n   - Basic data analysis with SQL  \n\n4. **Lecture04-DatabaseRelationshipsAndKeys**  \n   - Understanding primary keys, foreign keys, and unique constraints  \n   - Creating and managing relationships (One-to-One, One-to-Many, Many-to-Many)  \n   - Introduction to joins  \n\n5. **Lecture05-SQLJoinsAndViews**  \n   - Types of joins (Inner, Left, Right, Full, Cross)  \n   - Creating and managing database views  \n   - Querying data through views  \n\n6. **Lecture06-SubqueriesAndNestedQueries**  \n   - Introduction to subqueries  \n   - Writing nested queries  \n   - Performance considerations for complex queries  \n\n7. **Lecture07-StoredProceduresAndFunctions**  \n   - Writing stored procedures for reusable logic  \n   - Creating user-defined functions  \n   - Parameterized queries and error handling  \n\n8. **Lecture08-TriggersAndTransactions**  \n   - Creating and using triggers for automated tasks  \n   - Understanding transactions (`COMMIT`, `ROLLBACK`, Savepoints)  \n   - Ensuring data consistency with transactions  \n\n9. **Lecture09-IndexesAndPerformanceOptimization**  \n   - Types of indexes (Clustered, Non-Clustered)  \n   - Improving query performance  \n   - Best practices for database optimization  \n\n10. **Lecture10-DataSecurityAndUserManagement**  \n    - Managing roles and permissions  \n    - Securing sensitive data with encryption  \n    - User creation and management  \n\n11. **Lecture11-AdvancedQueryTechniques**  \n    - Common Table Expressions (CTEs)  \n    - Window functions for advanced querying  \n    - Recursive queries  \n\n12. **Lecture12-DatabaseBackupAndRecovery**  \n    - Backup strategies in MySQL and SQL Server  \n    - Restoring databases  \n    - Disaster recovery planning  \n\n13. **Lecture13-NoSQLIntegrationAndHybridSystems**  \n    - Overview of NoSQL databases  \n    - Integrating RDBMS with NoSQL for hybrid systems  \n    - Practical examples of RDBMS and NoSQL usage  \n\n### Comments and Syntax\n\nTo enhance understanding, extensive comments are included within the SQL files. Both SQL Server and MySQL use the `--` syntax for comments to explain the code and concepts in detail.\n\n## Documentation References\n\nFor further reading and official documentation, you can refer to:\n\n- [MySQL Documentation](https://dev.mysql.com/doc/)\n- [Microsoft SQL Server Documentation](https://docs.microsoft.com/en-us/sql/sql-server/)\n\n## Credits  \n\nThis course has been meticulously designed, organized, and prepared by [TechTalksOfficial](https://github.com/TechTalksOfficial).  \n\nSpecial thanks to the developer community and resources that supported the creation of this repository.\n\n**Team Members:**\n- [Yousuf Naveed Khan](https://github.com/YousufNaveedKhan)\n- [Muneeb Hassan Siddiqui](https://github.com/muneebhassansiddiqui)\n\nFeel free to explore the materials and utilize the resources provided. If you have any questions or need further assistance, please do not hesitate to reach out.  ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechtalksofficial%2Fmastering-rdbms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechtalksofficial%2Fmastering-rdbms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechtalksofficial%2Fmastering-rdbms/lists"}