0345 4506120

Introduction to MariaDB

Course Details

Name Introduction to MariaDB
Virtual Classroom
Start Date:
Working Days:
£889.00 +vat
Course ID:


The Introduction to MariaDB course covers the basics of the SQL language as implemented by MariaDB. 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.

The delegate will learn and acquire skills as follows:

  • Using client programs to access a MariaDB database
  • Creating, altering and dropping a MariaDB database
  • Writing SQL statements to select data from a MariaDB 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

Who will the Course Benefit?

Anyone who needs to access and work with a MariaDB Database or is migrating from MySQL to MariaDB.

Learning Objectives

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


There are no formal pre-requisites, although an understanding of databases and exposure to information technology in general would be useful.

Course Content

Day 1

Course Introduction

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


  • 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 for MariaDB
  • Exercise: Using a MariaDB Database

Session 2: USING THE MySQL CLIENT with MariaDB

  • 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 SQL Scripts
  • Exercise:   Using the MySQL Client


  • 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


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

Day 2


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


  • Function types
  • Testing functions
  • Numeric functions
  • Character functions
  • Exercise:   Using Numeric and Character 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

Day 3:


  • 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


  • 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


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


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


  • Exporting using SQL
  • Importing using SQL
  • Exporting from the command line
  • Importing from the command line
  • Exercise:   Export and import data

Follow-On Courses

    • MariaDB for Developers
    • MariaDB Database Administration
    • PHP Programming & MariaDB for Web Development


  • 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.

Virtual Training


Quite simply, delegates based at home or in their office (or anywhere where there is an internet connection) link into a live instructor led class via their browser.


Using our Virtual Classroom Connect solution, the remote (virtual) delegate will connect to the training room via the internet, where they will be able to see, hear and interact with the instructor and, if it is a scheduled course, the classroom based delegates. They will be able to see all trainer demonstrations, slides and whiteboard work and also have access to the practical workshops/labs as though they were attending in the classroom.


Virtual delegates can interact during the sessions, joining in discussions with the trainer and, if relevant, the other delegates. If preferred, delegates can raise questions via the text-based virtual interface where the trainer can answer either in a private one to one conversation or to the class in general.



Headsets (please note that delegates must provide their own headsets for Virtual courses)

We strongly recommend that the delegates attending this training have high quality headsets, which have noise cancelling microphone capability. This is to enable them to clearly hear the course delivery and contribute effectively within the class setting, ensuring clear reciprocal communication between lecturer and delegates throughout the course.


Electronic Course Materials

Delegates will be accessing Electronic Course Material throughout the course. To achieve an optimum learning experience, we highly recommend that the delegates have access to a second screen in order to view their course materials separately from their main screen.


Optional Additional Service (Printed Course Materials)

In addition to providing electronic course materials, Printed Course Materials can also be provided at an extra cost per manual supplied. The fee charged includes the cost of couriering the printed course materials to the training venue. Please advise at the time of booking if this optional additional service is required.





To support the practical workshops/labs element of the Virtual Solution, we provide a Remote Access service whereby the delegates connect to servers or individual systems hosted in our London office.  This eliminates the expense of couriering systems to clients’ sites and the uncertainty associated with using clients’ own systems.  Clients will still need to provide a system for the delegates, however these systems will only require one of the following (freely available) connection tools installed: ssh client (eg putty), VNC viewer (eg UltraVNC) or the Windows Remote Desktop client.


For the Remote Access solution, we recommend a fast internet connection and minimum of Windows 7 with 4Gb Ram.  Delegates can also connect using Apple MAC or Unix/Linux based client systems and similar connection software.  Depending on the course being delivered there may be further requirements (such as minimum screen resolution, supported browsers etc).  If there are further requirements, a member of our technical team will advise accordingly once we have a clearer understanding of the systems being provided by the client for the training.


The client is responsible for the provision, technical setup, installation, testing and connectivity of the training systems to our servers or individual systems in London prior to the training commencing. Performance will be dependent on a good internet connection from the client’s site. As with all internet access, because the internet is outside of our control we are unable to guarantee response times.




We are responsible for providing the Adobe Connect software and Remote Access to the labs/workshops for the course.  To guarantee the successful delivery of the course, each delegate will need to carry out the required pre-course connectivity tests to both the Adobe Connect server and the labs/workshops server well in advance of the course start date.


Before we can fully commit to this training being delivered using Remote Access, it would be necessary to test the connectivity between our servers or individual systems hosted in our London office and the delegate's training systems.  We also need to ensure that the delegates can connect onto the course that they will be attending via the Adobe Connect server.


To enable the delegates to carry out the required connectivity tests, our booking procedures will provide connection details for the training prior to the event start date. All connectivity tests will need to be carried out well in advance of the training delivery date.


Please note, these tests must be performed on the computer system the delegate will be using on their training course and from the same location where they will be sitting during their course attendance.



This is to ensure that the delegates have the correct levels of software required on their systems. In the instance where their system may not have the required software, they have the ability to download it onto their system (the delegate may need to discuss this with their technical support if they are attending their course within an office environment).


This also confirms if the Adobe Connect web service is able to work through any firewalls the delegates’ company may have in place. Details of any required software is provided as and when the test is run.


Note: The delegate's systems will also need a working sound card.


To run the Adobe Connect connectivity test from their designated system and location, the delegate should use the following link:



Below is a link to a QuickStart guide that delegates attending courses using Adobe Connect may find useful:





  • The client will be responsible for all the setups for the delegate's systems including user logins, permissions, etc.


  • The client will need to carry out the required Remote Access and Adobe Connect connectivity tests as outlined above. These tests will need to take place well in advance of the training delivery date.


  • Training cannot be undertaken using the client’s systems without discussion taking place between our technical team and the client with regard to the systems being provided.


  • We strongly recommend that the delegates attending this training are provided with high quality headsets, which have noise cancelling microphone capability. This is to enable them to clearly hear the course delivery and contribute effectively within the class setting, ensuring clear reciprocal communication between lecturer and delegates throughout the course.


  • Delegates will be accessing Electronic Course Material throughout the course. To achieve an optimum learning experience, we highly recommend that the delegates have access to a second screen in order to view their course materials separately from their main screen.


  • If the client is unable to provide suitable systems for this training course, then pre-configured systems could be provided or the course could be delivered at one of our training centres. Please refer to your account manager for further details.

Our Customers Include