
Install and configure MySQL server on Windows, use the MySQL installer and MySQL Workbench to set up the server, create a local instance, and connect via MySQL Workbench.
install and open MySQL Workbench, connect to the local MySQL server using the root password, and use the query window to run queries, while hash marks denote comments.
Learn to navigate the MySQL workbench, understand schemas as databases with tables and data, create and drop databases, create tables, insert data, and perform select queries using data query language.
Explore sql, a structured query language, and how mysql uses tables in a schema to store data, with the select command and ddl, dml, dcl, and tcl groups.
Explore ddl, dml, dql, dcl, tcl with create, alter, drop, insert, update, delete, and select. Understand data types and constraints like integer, varchar, primary key, not null, and unique.
Learn to define primary key, not null, unique, default, and foreign key, then create databases and tables, and insert data in MySQL.
download and paste the script to create the db2 database and its tables in mysql workbench, create parent tables first due to foreign keys, and verify with show tables.
Learn how to verify table creation in db2, show tables, and query customers using select, aliasing fields, and limit and order by to sort by country and city.
Learn how SQL clauses filter data using the where clause and fetch specific records, and discover the roles of order by, group by, and having.
Master the where, order by, group by, and having clauses, and apply sum, max, min, avg, and count to analyze customers and payments data.
Learn how to use the order by clause to sort data in ascending order by default, and switch to descending order with the desc keyword in MySQL.
Learn how to use arithmetic operators (addition, subtraction, multiplication, division) and logical operators (or, and) in SQL, apply them to select queries with where clauses, and create new amount aliases.
Explore how logical operators in sql queries filter data using in, like, and between, with practical examples from payments and employees to master pattern matching and range filtering.
Explore SQL comparison operators—equal, greater than, less than, greater than or equal, less than or equal, and not equal—through practical select and where examples with payments and amount.
Practice renaming columns with aliases in select queries, choosing employee number, last name, first name, and email from employees, while controlling which fields to include or rename.
Explore how union and union all combine two tables with matching fields, observe duplicates handling, and follow examples using employees and offices data to verify results like 1002 and 1056.
Master joins in MySQL: inner, left, right, cross; understand full outer join absence, alternatives with left-right joins, and how common fields drive results.
Explore inner join, left join, right join, and full outer join for two tables A and B, showing common elements and output; note full outer join isn't native to MySQL.
Learn to use inner joins by identifying common fields like office code or employee number and applying the on condition across tables.
Learn to perform joins across two tables, employees one and employees two, using a downloadable script you can apply and practice in the next session.
Create four tables for joins—employee names, country, department, and region—using the attached script; insert 30 unique records, define primary keys, and verify data with selects as you prepare for joins.
Master joins in MySQL by applying inner join, left join, right join, and cross join across the employee names and country tables using a common id field and on clauses.
Learn to simulate a full outer join in MySQL by combining left and right joins with union all, using country and department tables.
Course Overview: This course is designed to provide beginners with a solid foundation in MySQL, a widely used open-source relational database management system. Through a combination of theoretical concepts, practical examples, and hands-on exercises, participants will gain proficiency in writing queries, understanding essential SQL clauses, mastering join operations, and engaging in practical application exercises.
Course Objectives: By the end of this course, participants will:
Understand the fundamental concepts of databases and relational database management systems.
Be proficient in writing basic to intermediate SQL queries to retrieve, manipulate, and manage data stored in a MySQL database.
Acquire a comprehensive understanding of important SQL clauses, such as SELECT, INSERT, UPDATE, DELETE, and their variations.
Master the art of joining tables to retrieve data from multiple sources and understand different types of joins.
Gain hands-on experience by working on real-world scenarios and practical exercises to reinforce the concepts learned throughout the course.
What is MySQL?
MySQL is a relational database management system (RDBMS) developed by Oracle that is based on structured query language (SQL).
A database is a structured collection of data. It may be anything from a simple shopping list to a picture gallery or a place to hold the vast amounts of information in a corporate network. In particular, a relational database is a digital store collecting data and organizing it according to the relational model. In this model, tables consist of rows and columns, and relationships between data elements all follow a strict logical structure. An RDBMS is simply the set of software tools used to actually implement, manage, and query such a database.
MySQL is open-source
Any individual or enterprise may freely use, modify, publish, and expand on Oracle’s open-source MySQL code base. The software is released under the GNU General Public License (GPL).
For MySQL code needing to be integrated or included in a commercial application (or if open-source software is not a priority), enterprises can purchase a commercially licensed version from Oracle.
Again, these options provide organizations with additional flexibility if deciding to work with MySQL. The public and community-based nature of open-source releases enriches MySQL’s documentation and online support culture, while also ensuring that sustained or newly-developed capabilities never stray too far from current user needs.
MySQL is easy to use
Though MySQL’s relational nature and the ensuing rigid storage structures might seem restrictive, the tabular paradigm is perhaps the most intuitive, and ultimately allows for greater usability.
In fact, MySQL makes many concessions to supporting the widest possible variety of data structures, from the standard but rich logical, numeric, alphanumeric, date, and time types, to more advanced JSON or geospatial data. Beyond mere data types and an expansive built-in feature set, the MySQL ecosystem also includes a variety of tools, easing everything from server management to reporting and data analysis.
Regardless of the RDBMS’s overarching architecture, users can invariably find a MySQL feature allowing them to model and codify data how they wish. MySQL remains one of the most straightforward database technologies to learn and use.
Prerequisites: No prior knowledge of databases or SQL is required for this course. Basic computer literacy and familiarity with working in a command-line interface or graphical user interface (GUI) is recommended.
Target Audience: This course is suitable for beginners who have little to no experience with databases and SQL but are eager to learn how to manage and manipulate data effectively using MySQL.
Note: This course focuses specifically on MySQL and SQL concepts and does not cover other aspects of database administration, server management, or advanced topics like stored procedures or triggers.