Learning journey
A clearer learning flow.
The progression begins with MySQL installation, Workbench orientation, and relational database design, moves through core SQL — DDL, DML, filtering, sorting, aggregation — advances into multi-table joins and subqueries, then stored procedures, functions, triggers, and views, and finishes with indexing, query optimisation, transactions, user security, backup, and a capstone real-world database project.
Step 01
MySQL Setup & Relational Database Design
Install MySQL Server and MySQL Workbench; RDBMS concepts — tables, rows, columns, and relationships; entity-relationship (ER) diagrams; database normalisation (1NF, 2NF, 3NF); primary keys, foreign keys, and constraints; CREATE DATABASE and CREATE TABLE with data types. [web:486]
Step 02
Core SQL — DDL, DML & Querying
DDL — ALTER TABLE, DROP, TRUNCATE; DML — INSERT, UPDATE, DELETE; SELECT with WHERE, DISTINCT, LIKE, IN, BETWEEN, IS NULL; ORDER BY, LIMIT, OFFSET; aggregate functions — COUNT, SUM, AVG, MIN, MAX; GROUP BY and HAVING clause. [web:482]
Step 03
Joins, Subqueries & Advanced Queries
INNER JOIN, LEFT JOIN, RIGHT JOIN, CROSS JOIN, and self-join; subqueries in SELECT, WHERE, and FROM clauses; correlated subqueries; UNION and UNION ALL; derived tables; CASE expressions; and common table expressions (CTEs) with WITH. [web:482]
Step 04
Stored Procedures, Functions, Triggers & Views
Stored procedures — parameters, IF-ELSE, LOOP; user-defined functions; triggers — BEFORE and AFTER INSERT, UPDATE, DELETE; views — creating, updating, and dropping; indexes — B-tree and FULLTEXT; EXPLAIN and query performance analysis. [web:480]
Step 05
Transactions, Security & Capstone Project
Transactions — COMMIT, ROLLBACK, SAVEPOINT, and ACID properties; InnoDB storage engine; user management — CREATE USER, GRANT, REVOKE, and role-based access; data backup and restore with mysqldump; and a capstone full-schema real-world database project. [web:488]