MySQL

MySQL for Developers

Learn about MySQL from Instructors with Real World Expertise.

This 5 day MySQL course course is the foundation course for developers planning on designing and implementing applications that make use of MySQL.

MySQL Training Overview:

The MySQL for Developers course is the foundation course for developers planning on designing and implementing applications that make use of MySQL. This course covers essential SQL statements for data design, querying, and programming. In addition, it will prepare students for the MySQL Developer certification

Course Objectives:

  • Understand the steps necessary to invoke MySQL client programs
  • Utilize the general-purpose mysql client program and the MySQL Query Browser graphical user interface (GUI) to run queries and retrieve results
  • Select the best data type for representing information in MySQL
  • Manage the structural characteristics of your databases and the tables within your databases
  • Utilize the SELECT statement to retrieve information from database tables
  • Utilize expressions in SQL statements to retrieve more detailed information
  • Utilize SQL statements to modify the contents of database tables
  • Write join expressions in your SQL statements to obtain information from multiple tables
  • Utilize subqueries in your SQL statements
  • Create views utilizing SELECT statements to produce virtual tables of specific data
  • Perform bulk data import and export operations
  • Create user defined variables, prepared statements and stored routines
  • Create and manage triggers
  • Use the INFORMATION_SCHEMA database to access metadata
  • Debug MySQL applications
  • Configure and Optimize MySQL

Target Audience:

  • Developers who want to create applications using MySQL
  • Students wishing to prepare for the MySQL Developer Certification Exams

Prerequisites:

Having attended the MySQL for Beginners course or some experience with Relational Databases and SQL

Duration: 5Days

Course Outline:

Introduction

Overview:

  • MySQL Overview
  • Products and Services
  • MySQL Enterprise Services
  • Supported Operating Services
  • MySQL Certification Program
  • Training Curriculum Paths
  • MySQL Website
  • Installing MySQL and the World Database

MySQL Client/Server Concepts

Overview:
  • MySQL General Architecture
  • How MySQL Uses Disk Space
  • How MySQL Uses Memory

MySQL Clients

Overview
  • Invoking Client Programs
  • Using Option Files
  • The MySQL Client
  • MySQL Query Browser
  • MySQL Connectors
  • Third-Party APIs

Querying for Table Data

Overview:

  • The SELECT Statement
  • Aggregating Query Results
  • Using UNION

Handling Errors and Warnings

Overview:
  • SQL Modes
  • Handling Missing or Invalid Data Values
  • Interpreting Error Messages

Data Types

Overview

  • Data Type Overview
  • Numeric Data Types
  • Character String Data Types
  • Binary String Data Types
  • Temporal Data Types
  • NULLs

Obtaining Metadata

Overview

  • Metadata Access Methods
  • The INFORMATION_SCHEMA Database/Schema
  • Using SHOW and DESCRIBE
  • The mysqlshow Command

Databases

Overview

  • Database Properties
  • Good Design Practices
  • Identifiers
  • Creating Databases
  • Altering Databases
  • Dropping Databases

Tables

Overview

  • Creating Tables
  • Table Properties
  • Column Options
  • Creating Tables Based on Existing Tables
  • Altering Tables
  • Dropping Tables
  • Foreign Keys

Manipulating Table Data

Overview

  • The INSERT Statement
  • The DELETE Statement
  • The UPDATE Statement
  • The REPLACE Statement
  • INSERT with ON DUPLICATE KEY UPDATE
  • The TRUNCATE TABLE Statement

Transactions

Overview

  • What is a Transaction?
  • Transaction Commands
  • Isolation Levels
  • Locking

Joins

Overview

  • What is a Join?
  • Joining Tables in SQL
  • Basic Join Syntax
  • Inner Joins
  • Outer Joins
  • Other Types of Joins
  • Joins in UPDATE and DELETE statements

Subqueries

Overview

  • Types of Subqueries
  • Table Subquery Operators
  • Correlated and Non-Correlated Subqueries
  • Converting Subqueries to Joins

Views

Overview

  • What Are Views?
  • Creating Views
  • Updatable Views
  • Managing Views
  • Obtaining View Metadata

Prepared Statements

Overview

  • Why Use Prepared Statements?
  • Using Prepared Statements from the mysql Client
  • Preparing a Statement
  • Executing a Prepared Statement
  • Deallocating a Prepared Statement

Exporting and Importing Data

Overview

  • Exporting and Importing Data
  • Exporting and Importing Data Using SQL
  • Exporting and Importing Data Using MySQL Client Programs
  • Import Data with the SOURCE Command

Stored Routines

Overview

  • What is a Stored Routine?
  • Creating, Executing and Deleting Stored Routines
  • Compound Statements
  • Assign Variables
  • Parameter Declarations
  • Flow Control Statements
  • Declare and Use Handlers
  • Cursors

Triggers

Overview

  • What are Triggers?
  • Delete Triggers
  • Restrictions on Triggers

Storage Engines

Overview

  • SQL Parser and Storage Engine Tiers
  • Storage Engines and MySQL
  • The MyISAM Storage Engine
  • The InnoDB Storage Engine
  • The MEMORY Storage Engine
  • Other Storage Engines

Optimisation

Overview:

  • Overview of Optimization Principles
  • Using Indexes for Optimization
  • Using EXPLAIN to Analyze Queries
  • Query Rewriting Techniques
  • Optimizing Queries by Limiting Output
  • Using Summary Tables
  • Optimizing Updates
  • Choosing Appropriate Storage Engines

Looking for something else? View all courses

Start Learning

Learn from Instructors with Real World Expertise.