Introduction to MySQL

Course Code: MYSI

Duration: 3 days

 
 
 
 

Introduction to MySQL Course Overview

The Introduction to MySQL course covers the basics of the SQL language as implemented by MySQL. The course is designed to give delegates practical experience in writing SQL statements using the mysql client program and MySQL Workbench. The basic SQL statements, including the use of SQL functions and the basic table and view handling statements are introduced.

Similarly, the course is targeted to closely follow the official Oracle MySQL curriculum for certification.

Exercises and examples are used throughout the course to give practical hands-on experience with the techniques covered.

Course Objectives

To provide the skills needed to create and alter a MySQL database and query and modify data held within such a database.

Who will the Course Benefit?

Anyone who needs to access and work with a MySQL Database.

Skills Gained

The delegate will learn and acquire skills as follows:

  • Using client programs to access a MySQL database
  • Creating, altering and dropping a MySQL database
  • Writing SQL statements to select data from a MySQL database
  • Writing joins and subqueries
  • Using SQL expressions
  • Using SQL aggregate functions and scalar functions
  • Inserting, updating, deleting and replacing rows
  • Creating and altering tables, indexes and views
  • Using transactions
  • Granting and revoking access privileges on tables and views
  • Exporting and importing data

Introduction to MySQL Training Course

Course Introduction

  • Administration and course materials
  • Course structure and agenda
  • Delegate and trainer introductions

Session 1: DATABASE CONCEPTS

  • What is a database?
  • Database management systems
  • Tables, rows and columns
  • Indexes, primary keys, unique constraints and foreign keys
  • Client-Server architecture
  • Supported data types
  • Storage engines and table types
  • The Information_Schema and MySQL Databases
  • Exercise: Using a MySQL Database

Session 2: USING THE MySQL CLIENT

  • What is the MySQL client?
  • Getting started and Logging in
  • Selecting a database
  • Client commands
  • Entering and executing SQL statements
  • Retrieving previous commands
  • Creating, editing and executing SQL files
  • Redirecting output into a file
  • Command line execution of MySQL Scripts
  • Exercise: Using the MySQL Client

Session 3: BASIC SELECT

  • The SQL SELECT statement
  • Case sensitivity
  • Quotes
  • Statement terminator
  • Syntax conventions
  • The select clause
  • The FROM clause
  • Conditions and the WHERE clause
  • Logical operators
  • The ORDER BY clause
  • Column aliases
  • Arithmetic expressions
  • Precedence of operators
  • Exercises: Querying the sample database

Session 4: LIMIT, UNION AND AGGREGATE FUNCTIONS

  • The LIMIT clause
  • UNION
  • UNION ALL
  • Aggregate functions
  • The GROUP BY clause
  • Using Rollup with GROUP BY
  • The HAVING clause
  • Exercises: Using Limit, Union and Aggregate Functions

Introduction to MySQL Training Course

Session 5: SUBQUERIES AND JOINS

  • Subqueries
  • Cartesian products
  • Joins with original syntax
  • Table aliases
  • Natural joins
  • Join using
  • Join on
  • Multi-table joins
  • Exercises: Using Subqueries and Joins

Session 6: NUMERIC AND CHARACTER FUNCTIONS

  • Function types
  • Testing functions
  • Numeric functions
  • Character functions
  • Exercise: Using Numeric and Character Functions

Session 7: DATE, TIME AND OTHER FUNCTIONS

  • Date and time column types
  • Date and time formats
  • The date format function
  • Functions to return date time
  • Functions to extract components from date time
  • Date time arithmetic
  • Miscellaneous functions
  • Exercise: Using Date, Time and other functions

Introduction to MySQL Training Course

Session 8: DATABASES AND TABLES

  • Creating a database
  • Selecting a database
  • Obtaining database metadata
  • Table properties
  • Creating tables
  • Auto_increment
  • Show create table
  • Column operations
  • Constraint operations
  • Copying tables
  • Renaming tables
  • Changing engine for tables
  • Obtaining table metadata
  • Altering tables
  • Dropping tables
  • Temporary tables
  • Memory tables
  • Exercises: Maintaining databases and tables

Session 9: INDEXES AND VIEWS

  • What is an index?
  • Structure of an index
  • Creating an index
  • Reviewing indexes
  • Composite indexes
  • Altering a table to add an index
  • Dropping indexes
  • What is a view?
  • Creating views
  • View restrictions
  • Dropping views
  • Exercise: Maintaining indexes and views

Session 10: MANAGING DATA

  • Inserting rows
  • Replacing rows
  • Updating rows
  • Deleting rows
  • The truncate statement
  • The COMMIT and ROLLBACK commands
  • Savepoints
  • Implicit commits
  • Exercise: Managing data

Session 11: ACCESS CONTROL

  • Creating users
  • Renaming users
  • Dropping users
  • Granting privileges
  • Revoking privileges
  • Exercise: Creating users, granting and revoking

Session 12: IMPORT AND EXPORT

  • Exporting using SQL
  • Importing using SQL
  • Exporting from the command line
  • Importing from the command line
  • Exercise: Export and import data
Notes:
  • Course technical content is subject to change without notice.
  • Course content is structured as sessions, this does not strictly map to course timings. Concepts, content and practicals often span sessions.

Examinations

This couse together with the MySQL for Developers course is an excellent choice for delegates preparing to take the following exam:

  • MySQL 8.0 Database Developer Oracle Certified Professional exam (1Z0-909)

Attending these courses and studying the associated reference materials can form part of the preparation to achieve certification. Experience, practice, self-study and aptitude are also key requirements for exam success.

Before taking any exam, ensure you have the recommended experience. The Oracle website lists the exam requirements and these are updated regularly.

Exams are not included as part of the course.

Requirements

There are no formal pre-requisites for the Introduction to MySQL course, although an understanding of databases and exposure to information technology in general would be useful. This knowledge can be gained by attendance on the Relational Databases & Data Modelling Overview course.

Course Reviews

GREAT WORK JOHN! You are an excellent instructor. I look forward to more training in the future! Best, Marko

Marko - Controls Engineer - Manufacturing - May 2024


John was fantastic and provided an incredibly thorough and engaging SQL session!

Shahz - IT - March 2024


Tarn was very good at explaining each step and allowing time for each practical session - he made the sessions engaging throughout.

Robert - Assistant Business Support Manager - Finance - October 2023


John was brilliant at explaining the concepts of this course. He is both a subject matter expert and a great teacher - which are not always one and the same! The workshops were a great way to learn and I started with very limited knowledge and have now left with a good understanding.

Oliver - Transformation Analyst - Housing Association / Managed


John was extremely friendly and helpful, catering for a range of ability in the sessions.

David - Service Delivery Manager - IT


Really well instructed course. Covered everything that I was seeking and more, so a great opportunity for consolidating and furthering my knowledge.

Max - Data Administrator - Retail / Hire


Public Scheduled Events

Classroom & Live Virtual Instructor-Led Training

Duration: 3 days

Price: £1,195.00 exc. VAT 


Start Date Options Spaces  
05 Aug 2024
StayAhead Virtual Courses available 
Spaces Book Now 
14 Oct 2024
StayAhead Virtual Courses available 
Filling Book Now 
18 Nov 2024
StayAhead Virtual Courses available 
Spaces Book Now 
06 Jan 2025
StayAhead Virtual Courses available 
Spaces Book Now 
12 Feb 2025
StayAhead Virtual Courses available 
Spaces Book Now 
19 Mar 2025
StayAhead Virtual Courses available 
Spaces Book Now 
23 Apr 2025
StayAhead Virtual Courses available 
Spaces Book Now 
28 May 2025
StayAhead Virtual Courses available 
Spaces Book Now 
30 Jun 2025
StayAhead Virtual Courses available 
Spaces Book Now 


Start Date Options Spaces  
18 Jul 2024
StayAhead Virtual Courses available 
Spaces Book Now  POA
 

Live Virtual Classroom

 
Join live instructor-led classroom training from the comfort of your home or office.
All the convenience and benefits of the classroom experience without the hassle and costs of travel and accommodation.
 
 



Our Customers Include

 
EDF
Amazon
American Express
Aviva
QA
BAE
University of Cambridge
Barnardo's
Scottish Government
Bauer
Bloomberg
BP
HSBC
DVLA
GlaxoSmithKline
Government Campus
Capita
Tui
NHS
Ordnance Survey
Ministry of Defence
Zurich Insurance Group
trainline
Vodafone
 
 



Our Course Curriculum

 
 
 
+44 (0)20 7600 6116
Enquiries@StayAhead.com
Copyright © 2024 StayAhead Training Ltd
Cookies   /   Privacy Policy