Curso MariaDB Introduction to MariaDB
24 horasVisão Geral
O Curso MariaDB Introduction to MariaDB cobre os fundamentos da linguagem SQL implementada pelo MariaDB. O Curso MariaDB Introduction to MariaDB foi elaborado para proporcionar aos participantes experiência prática na escrita de instruções SQL usando o programa de linha de comando do cliente mariadb e ferramentas GUI. São apresentadas as instruções SQL básicas, incluindo o uso de funções SQL e as instruções básicas de manipulação de tabelas e visualizações.
Exercícios e exemplos são usados ao longo do Curso MariaDB Introduction to MariaDB para proporcionar experiência prática com as técnicas abordadas.
Objetivo
- Curso MariaDB Introduction to MariaDB Fornecer as habilidades necessárias para criar e alterar um banco de dados MariaDB e consultar e modificar dados mantidos em tal banco de dados.
Publico Alvo
- Qualquer pessoa que precise acessar e trabalhar com um Banco de Dados MariaDB ou esteja migrando do MySQL para o MariaDB.
Pre-Requisitos
- Não há pré-requisitos formais para o Curso MariaDB Introduction to MariaDB, embora seja útil uma compreensão de bancos de dados e exposição à tecnologia da informação em geral. Esse conhecimento pode ser adquirido participando do curso Visão geral de bancos de dados relacionais e modelagem de dados.
Materiais
Inglês/Português/Lab PráticoConteúdo Programatico
COURSE INTRODUCTION
- Administration and course materials
- Course structure and agenda
- Delegate and trainer introductions
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
USING THE MARIADB CLIENT WITH MARIADB
- 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
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
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
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
NUMERIC AND CHARACTER FUNCTIONS
- Function types
- Testing functions
- Numeric functions
- Character functions
- Exercise: Using Numeric and Character Functions
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
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
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
MANAGING DATA
- Inserting rows
- Replacing rows
- Updating rows
- Deleting rows
- The truncate statement
- The COMMIT and ROLLBACK commands
- Savepoints
- Implicit commits
- Exercise: Managing data
ACCESS CONTROL
- Creating users
- Renaming users
- Dropping users
- Granting privileges
- Revoking privileges
- Exercise: Creating users,granting and revoking
IMPORT AND EXPORT
- 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