
Learn the SQL language, a declarative approach for creating and querying relational databases, and discover how relational database systems support stored procedures, triggers, views, replication, and multilingual encoding.
Install MySchool (MySQL Workbench) with the full installer, choose standalone server, and configure Python connectors, root password, and samples for console access and database scripting.
Learn how to concatenate text in MySQL using the concatenate function to join author and title, add separators, and alias the result from the books table with a five-row limit.
Explore how to use the replace function to modify text, including case-sensitive substitutions, replacing substrings, and applying replacements to shorten titles.
Learn how to order SQL query results with the order by clause, choosing ascending or descending order, applying limit for top results, and optionally ordering by a column position.
Learn to store and format dates in MySQL using current date and now, date format to extract day, month, year, and time components, including day name and month name.
Explore relational tables in MySQL by creating users, orders, and cart tables, and learn one-to-one, one-to-many, and many-to-many relations with primary keys and references.
Explore seven types of joins in MySQL—left, exclusive left, right, exclusive right, inner, cross, and full outer—using a two-table, one-to-many example with authors and books.
Learn how to safely delete an author by using on delete cascade to automatically remove related books, enforce foreign keys, and perform corresponding removal to maintain referential integrity.
Explore MySQL triggers that respond to insert, update, or delete events to automate inventory updates, stock management, and orders and cart workflows.
The course is designed for people who have not had contact with the SQL language yet, but want to learn how to work with relational databases. In the course, we discuss all the necessary issues, work with examples and exercises, starting from the basics: what is SQL and how to install and run a local MySQL server on your home computer, how to use SQL itself from both the console and MySQL Workbench. Then we discuss the topic of CRUD: Create, Read, Update, Delete where we discuss all these activities in detail. The next stage will be text and aggregate functions where you will learn to modify the results of database queries. Next, an important step will be learning how to create queries with a logic layer and calling the appropriate conditions that will make the query result dependent on their fulfillment. Finally, we discuss the topic of relations - their types, how to create and invoke, handle them or activate events with triggers. At the end of the course, we will work on the data set in several tables connected by relations. In each section you will also find additional exercises that will allow you to check your knowledge and skills as well as notes summarizing the issues discussed.