Overview:

About the Course

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.

Entry:

Requirements

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

Follow-on Courses

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

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.

Objectives:

Course Objectives

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

Syllabus:

Syllabus

Course Contents - DAY 1

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

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

Course Contents - DAY 2

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

Course Contents - DAY 3

Session 8: DATABASES AND TABLES

Session 9: INDEXES AND VIEWS

Session 10: 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

3 Days

Course Dates

There are no dates scheduled for this course at the moment. Please call to enquire 08000 199337
 

 

Select a Classroom Course

Course Title Start Date Finish Date Location Price Qty
Introduction to MariaDB Jan 2, 2019 Jan 4, 2019 London £895
Introduction to MariaDB Feb 11, 2019 Feb 13, 2019 London £895
Introduction to MariaDB Feb 13, 2019 Feb 15, 2019 Manchester £895
Introduction to MariaDB Mar 27, 2019 Mar 29, 2019 London £895
Introduction to MariaDB Apr 15, 2019 Apr 17, 2019 Manchester £895
Introduction to MariaDB May 8, 2019 May 10, 2019 London £895
Introduction to MariaDB Jun 17, 2019 Jun 19, 2019 London £895
Introduction to MariaDB Jun 26, 2019 Jun 28, 2019 Manchester £895
Introduction to MariaDB Jul 31, 2019 Aug 2, 2019 London £895
Introduction to MariaDB Sep 11, 2019 Sep 13, 2019 Manchester £895
Course Type:


Location:

Session Dates: