Course description
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 mariadb client command line program and GUI tools. The basic SQL statements, including the use of SQL functions and the basic table and view handling statements are introduced.
Exercises and examples are used throughout the course to give practical hands-on experience with the techniques covered.
Who will the Course Benefit?Anyone who needs to access and work with a MariaDB Database or is migrating from MySQL to MariaDB.
Course ObjectivesTo provide the skills needed to create and alter a MariaDB database and query and modify data held within such a database.
Upcoming start dates
Suitability - Who should attend?
There are no formal pre-requisites for the Introduction to MariaDB 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.
Training Course Content
Introduction to MariaDB Training Course
Course Contents - 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
- What is the mariadb 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 mariadb 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
- 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
- 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
Course Contents - DAY 3
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
- 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 using mariadb_export
- Importing from the command line using mariadb_import
- Exercise: Export and import data
Customer Outreach Award
We believe that it should be easy for you to find and compare training courses.
Our Customer Outreach Award is presented to trusted providers who are excellent at responding to enquiries, making your search quicker, more efficient and easier, too.
Reviews
Average rating 4.8
Absolutely awesome course, Marian had excellent knowledge on databases and not one question I had went unanswered. Couldn't have asked for a better teacher! the pace of the cour...
Trevor did a great job
Continuing Studies
Further Learning
- MariaDB for Developers
- MariaDB Database Administration
Request info
Why StayAhead. From a single person on a scheduled course to large scale training projects StayAhead Training have the expertise and experience to help. Established since 1992, StayAhead Training is recognised as one of the leading independent IT Training specialists...
Really good content, good pace, recommend this course for everyone touching a bit of database and need more in dept knowledge.