Day 1: Introduction to DBMS
- Introduction to Databases
- What is a Database?
- Purpose and importance of databases
- Database Management Systems (DBMS)
- What is DBMS? Why is it needed?
- Advantages and limitations of DBMS
- Types of DBMS
- Hierarchical
- Network
- Relational
- Object-oriented
- Introduction to Relational Databases
- Concept of tables, records, and fields
- Importance of Primary Key
- Normalization
- Introduction to normalization
- 1NF, 2NF, 3NF, BCNF
- SQL Basics
- What is SQL?
- Role of SQL in DBMS
Day 2: Dive into MySQL & Basic Queries
- Introduction to MySQL
- History and importance of MySQL
- Installation and setting up MySQL
- Basic SQL Commands
- DDL (Data Definition Language) Commands: CREATE, ALTER, DROP
- DML (Data Manipulation Language) Commands: SELECT, INSERT, UPDATE, DELETE
- Working with Data
- The SELECT statement: fetching data
- Filtering data with WHERE
- Sorting results using ORDER BY
- Functions and Aggregation
- Common functions: COUNT, SUM, AVG, MIN, MAX
- Grouping results using GROUP BY
Day 3: Advanced SQL & Complex Queries
- Joins in SQL
- Understanding the need for joins
- INNER JOIN, LEFT JOIN, RIGHT JOIN, FULL JOIN
- Subqueries
- Concept and utility of subqueries
- Types of subqueries: IN, EXISTS, FROM
- Advanced SQL Functions
- String functions: UPPER, LOWER, CONCAT, TRIM, LENGTH
- Date functions: NOW, DATE_FORMAT, DATEDIFF
- Indexes & Views
- Importance of indexing
- Creating and managing views