Subscribe to Newsletter

Print

Introduction to MySQL Training Course


(This course is offered only on-demand to a private batch and can be customized as per the business requirements)

Overview

The MySQL training course is designed for participants who are new to writing SQL queries using MySQL.

Objectives

At the end of Introduction of MySQL Training course, participants will learn to:

  • Understand how MySQL works
  • Use SQL to output reports with MySQL
  • Modify MySQL data with SQL
  • Create a simple MySQL database
  • Create simple work with Views and Stored Procedures in MySQL
  • Create tables in MySQL

Suggested Audience - Participants new to writing SQL queries use MYSQL.

Duration - 2 Days

Prerequisites - Previous experience with command-line programs and some knowledge of database concepts is required. Some knowledge of data retrieval and reporting would be beneficial.

Syllabus

1. Relational Database Basics
  • Brief History of SQL
  • Relational Databases
    • Tables
    • Rows
    • Columns
    • Relationships
    • Datatypes
    • Primary Keys
    • Foreign Keys
    • Relational Database Management System
  • Popular Databases
    • Commercial Databases
    • Popular Open Source Databases
    • Valid Object References
  • SQL Statements
    • Database Manipulation Language (DML)
    • Database Definition Language (DDL)
    • Database Control Language (DCL)
2. Simple SELECTs
  • Introduction to the Northwind Database
  • Some Basics
    • Comments
    • Whitespace and Semi-colons
    • Case Sensitivity
  • SELECTing All Columns in All Rows
  • Exploring the Tables
  • SELECTing Specific Columns
  • Sorting Records
    • Sorting By a Single Column
    • Sorting By Multiple Columns
    • Sorting By Column Position
    • Ascending and Descending Sorts
  • Sorting Results
  • The WHERE Clause and Operator Symbols
    • Checking for Equality
    • Checking for Inequality
    • Checking for Greater or Less Than
    • Checking for NULL
    • WHERE and ORDER BY
  • Using the WHERE clause to check for equality or inequality
  • Using the WHERE clause to check for greater or less than
  • Checking for NULL
  • Using WHERE and ORDER BY Together
  • The WHERE Clause and Operator Words
    • The BETWEEN Operator
    • The IN Operator
    • The LIKE Operator
    • The NOT Operator
  • More SELECTs with WHERE
  • Checking Multiple Conditions
    • AND
    • OR
    • Order of Evaluation
  • Writing SELECTs with Multiple Conditions
3. Advanced SELECTs
  • Calculated Fields
    • Concatenation
    • Mathematical Calculations
    • Aliases
  • Calculating Fields
  • Aggregate Functions and Grouping
    • Aggregate Functions
    • Grouping Data
    • Selecting Distinct Records
  • Working with Aggregate Functions
  • Built-in Data Manipulation Functions
    • Common Math Functions
    • Common String Functions
    • Common Date Functions
  • Data Manipulation Functions
4. Subqueries, Joins and Unions
  • Subqueries
  • Joins
    • Table Aliases
    • Multi-table Joins
  • Using Joins
  • Outer Joins
  • Unions
    • UNION ALL
    • UNION Rule
  • Working with Unions
5. Conditional Processing with CASE
  • Using CASE
  • Working with CASE
6. Inserting, Updating and Deleting Records
  • INSERT
  • Inserting Records
  • UPDATE
  • DELETE
  • Updating and Deleting Records
7. Creating and Modifying Tables
  • Data Types
  • Creating Tables
    • NULL Values
    • Primary Keys
    • Foreign Keys
  • Creating Tables
  • Adding and Dropping Columns
  • Renaming Tables
    • SQL Server
    • Oracle and MySQL
  • Dropping Tables
8. Views
  • Creating Views
  • Dropping Views
  • Benefits of Views
  • Creating a View
9. Stored Procedures
  • Creating Stored Procedures
  • Dropping Stored Procedures
  • Creating a Stored Procedure
  • Benefits of Stored Procedures