MySQL: The Complete Course
Create and manage MySQL databases: tables, data types, queries, functions, indexes, transactions and users.
40 lessons≈ 10 hInstructor: Ngahtech AcademyUpdated 22 November 2026
What you will learn
- Install MySQL and work with databases and tables
- Choose the right MySQL data types and constraints
- Insert, update, delete and query data, including joins and grouping
- Use MySQL's string, number, date and control-flow functions
- Design with keys, indexes and views; use transactions and triggers
- Manage users, back up databases and connect from applications
A complete, free 40-lesson MySQL course: installing MySQL, databases and tables, MySQL's data types, inserting and changing data, queries and joins, MySQL's string, number and date functions, keys and indexes, views, transactions, triggers, users and privileges, backups, and connecting from PHP and Python.
Every lesson has a Try it yourself editor where you run MySQL statements on a sample school database. The practice database runs in your browser with a MySQL compatibility layer; the few server-only commands (user accounts, stored procedures, backups) are explained with examples to run on your own MySQL server. The SQL course is a good companion.
Requirements
- No database experience needed (the SQL course is a helpful companion)
- A computer or smartphone with a web browser
Curriculum
Module 1: Getting started 5 lessons
- 1. What is MySQL?Free preview 10 min
- 2. Installing MySQL and connectingFree preview 15 min
- 3. Creating and choosing databasesFree preview 10 min
- 4. Exploring a databaseFree preview 10 min
- 5. SELECT essentialsFree preview 15 min
Module 2: Data types and tables 6 lessons
- 6. Numeric data typesFree preview 10 min
- 7. String data typesFree preview 10 min
- 8. Date and time typesFree preview 10 min
- 9. CREATE TABLE and constraintsFree preview 20 min
- 10. ALTER TABLEFree preview 15 min
- 11. DROP and TRUNCATEFree preview 10 min
Module 3: Changing data 4 lessons
- 12. INSERT and LAST_INSERT_IDFree preview 15 min
- 13. INSERT IGNORE, REPLACE and ON DUPLICATE KEY UPDATEFree preview 15 min
- 14. UPDATEFree preview 15 min
- 15. DELETEFree preview 10 min
Module 4: Querying data 6 lessons
- 16. Filtering with WHEREFree preview 15 min
- 17. ORDER BY and LIMITFree preview 10 min
- 18. Grouping and aggregate functionsFree preview 20 min
- 19. JoinsFree preview 20 min
- 20. SubqueriesFree preview 15 min
- 21. UNION and CASEFree preview 15 min
Module 5: MySQL functions 6 lessons
- 22. String functionsFree preview 15 min
- 23. Numeric functionsFree preview 10 min
- 24. Date functionsFree preview 15 min
- 25. Formatting dates and date arithmeticFree preview 15 min
- 26. Control flow functionsFree preview 10 min
- 27. Conversion and information functionsFree preview 10 min
Module 6: Database design 5 lessons
- 28. Keys and foreign keysFree preview 15 min
- 29. Indexes and EXPLAINFree preview 20 min
- 30. ViewsFree preview 10 min
- 31. NormalisationFree preview 15 min
- 32. Character sets and collationsFree preview 10 min
Module 7: Transactions, triggers and administration 5 lessons
- 33. TransactionsFree preview 15 min
- 34. TriggersFree preview 15 min
- 35. Stored procedures and functionsFree preview 15 min
- 36. Users and privilegesFree preview 15 min
- 37. Backup and restoreFree preview 10 min
Module 8: MySQL in applications 3 lessons
- 38. Connecting from PHP and PythonFree preview 15 min
- 39. SQL injection and prepared statementsFree preview 15 min
- 40. Final project: a school results databaseFree preview 40 min
Reviews
No reviews yet.
