Overview:

About the Course

This MySQL Developers training course is designed for MySQL Developers who have a good understanding of a MySQL database and experience of using SQL commands. The course provides further practical experience in more advanced MySQL commands and SQL statements including Stored Routines, Triggers and Event Scheduling.
 

The delegate will learn and acquire skills as follows:
• Using advanced features of the MySQL Client
• Using advanced data types
• Managing the structure of databases and tables
• Managing and using indexes
• Writing complex SQL query statements
• Using advanced SQL expressions
• Using advanced SQL functions
• Performing advanced Insert, Update, Delete, Replace and Truncate Operations
• Using user variable syntax and properties
• Importing and exporting data from within MySQL
• Importing and exporting data from the command line
• Performing complex joins to access multiple tables
• Performing complex subqueries
• Creating, managing and using views
• Using MySQL Connectors
• MySQL and NoSQL integration
• Using prepared statements
• Creating and using stored routines
• Creating and using triggers
• Obtaining database metadata
• Optimizing queries
• Working with the main storage engines
• Debugging MySQL applications

Who will the course benefit?

MySQL Developers who have a basic understanding of a MySQL database and SQL commands as covered on the Introduction to MySQL course.

Entry:

Requirements

A working knowledge of MySQL is required. This can be gained by attendance on the Introduction to MySQL.

Pre-requisite Courses

• Introduction to MySQL

Follow-on Courses

• MySQL Database Administration
• PHP Programming & MySQL for Web Development
• Perl Programming

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.

The Exam:

Exam

Together with the Introduction to MySQL course, the content of this MySQL for Developers course will teach the major topics required for the delegate to work towards achieving the MySQL 5.6 Developer Certified Professional Exam(1Z0-882).

Before taking any exam, ensure you have the recommended experience. The Oracle website lists all exam requirements and these are updated regularly.

Exams are not included as part of the course.

Objectives:

Course Objectives

To provide the skills needed to write more advanced queries and database maintenance statements on a MySQL database.

Syllabus:

Syllabus

Course Contents - DAY 1

Course Introduction

• Administration and Course Materials
• Course Structure and Agenda
• Delegate and Trainer Introductions

Session 1: CLIENT/SERVER CONCEPTS

• MySQL client/server architecture
• Server modes
• Using client programs
• Logging in options
• Configuration files
• Precedence of logging in options
• Exercises: Using client/server

Session 2: THE MYSQL CLIENT PROGRAM

• Using MySQL interactively
• The MySQL prompts
• Client commands and SQL statements
• Editing
• Selecting a database
• Help
• Safe updates
• Using script files
• Using a source file
• Redirecting output into a file
• Command line execution
• Mysql output formats
• Overriding the defaults
• Html and xml output
• MySQL Utilities
• Exercises: Using the MySQL client program

Session 3: DATA TYPES

• Bit data type
• Numeric data types
• Auto_increment
• Character string data types
• Character sets and collation
• Binary string data types
• Enum and Set data types
• Temporal data types
• Timezone support
• Spatial Datatypes
• Handling Missing Or Invalid Data Values
• SQL_MODE options
• Exercises: Using data types

Session 4: IDENTIFIERS

• Using Quotes with identifier naming
• Case sensitivity in Identifier naming
• Qualifying columns with table and database names
• Using reserved words as identifiers
• Function names
• Exercises: Using identifiers

Session 5: DATABASES

• Database properties
• Creating a database
• Selecting a database
• Altering databases
• Dropping databases
• Obtaining database metadata
• The SHOW command
• The INFORMATION_SCHEMA database
• The SHOW CREATE command
• Exercises: Using databases

Course Contents - DAY 2

Session 6: TABLES AND INDEXES

• Table properties
• Creating tables
• Create table using Select or Like
• Temporary tables and memory tables
• Altering tables
• Adding columns
• Changing column widths and types
• Renaming columns
• Dropping columns
• Adding constraints
• Dropping constraints
• Renaming tables
• Change the table storage engine
• Multiple alterations
• Dropping tables
• Emptying tables
• Obtaining table metadata
• Show create table
• The information_schema
• Index introduction
• Structure of a mysql index
• Creating and dropping indexes
• Creating an index
• Altering a table to add an index
• Specifying index type
• Dropping indexes
• Obtaining Index Metadata
• Exercises: Creating, altering and dropping tables/indexes

Session 7: QUERYING FOR DATA

• The SQL select statement and MySQL differences
• Advanced order by
• Order by and collation
• Order by with enum datatype
• Order by with Set datatype
• Ordering with distinct and group by
• Special features of union
• Limit and order by clauses
• Group By clause
• Group_concat
• Using Rollup in a Group By clause
• Exercises: Querying for data

Session 8: SQL EXPRESSIONS AND FUNCTIONS

• Components of expressions
• Nulls
• Numeric expressions
• String expressions
• Temporal expressions
• Comparison functions
• Flow control functions
• Numeric functions
• String functions
• Temporal functions
• Exercises: Using expressions and functions

Session 9: UPDATING DATA

• Update operations and privileges
• Inserting rows
• Insert using a set clause
• Inserting duplicate values
• Replacing rows
• Updating rows
• Update using the order by and limit clauses
• Deleting rows
• The delete and truncate statements
• Exercise: Inserting, updating, replacing and deleting data

Session 10: CONNECTORS

• MySQL client interfaces
• MySQL connectors
• Oracle and community conectors
• Connecting to MySQL server using Java and PHP connectors
• MySQL and NoSQL
• Innodb integration with memcached

Course Contents - DAY 3

Session 11: OBTAINING DATABASE METADATA

• What is metadata?
• The mysqlshow utility
• The show and describe commands
• Describing tables
• The information_schema
• Listing tables
• Listing columns
• Listing views
• Listing key_columns_usage
• Exercises: Obtaining database metadata

Session 12: DEBUGGING

• Mysql error messages
• The show statement
• Show errors
• Show count(*) errors
• Show warnings
• Show count(*) warnings
• Note messages
• The perror utility
• Exercises: Debugging

Session 13: JOINS

Session 14: SUBQUERIES

Session 15: VIEWS

Course Contents - DAY 4

Session 16: IMPORT AND EXPORT

Session 17: USER VARIABLES AND PREPARED STATEMENTS

Session 18: INTRODUCTION TO STORED ROUTINES

Session 19: STORED ROUTINES - PROGRAM LOGIC

Session 20: STORED ROUTINES - EXCEPTION HANDLERS & CURSOR

Course Contents - DAY 5

Session 21: PROCEDURES WITH PARAMETERS

Session 22: FUNCTIONS

Session 23: TRIGGERS

Session 24: BASIC OPTIMIZATIONS

Session 25: MORE ABOUT INDEXES

 

5 Days

Course Dates

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

 

Select a Classroom Course

Course Title Start Date Finish Date Location Price Qty
MySQL for Developers Feb 18, 2019 Feb 22, 2019 London £1,395
Course Type:


Location:

Session Dates: