Loading...

Course Description

This MySQL course provides new PHP developers with the prerequisite knowledge necessary to learn to build database-driven websites with PHP and MySQL. It does not cover PHP, but it prepares you for learning PHP to integrate with MySQL. Although most of the SQL learned in the course is applicable to all major databases, including SQL Server, Oracle, and PostgreSQL, it focuses on MySQL.

This course starts with the basics of relational databases.  You will learn to use simple SELECT queries to pull data, and then move on to more advanced SELECTs and data manipulation.  You will shape the results of your queries to create relevant reports. Once you have mastered the basics, you will get hands-on with complex data retrieval methods like subqueries, joins, outer joins, and unions.  Finally, you will use INSERT, UPDATE, and DELETE while learning best practices for maintaining your records.

By the end of this MySQL for PHP course, you will know MySQL and SQL well enough to start using it with PHP (and elsewhere).

Course Outline

I. Relational Database Basics
  1. Brief History of SQL
  2. Relational Databases
  3. Tables
    1. Rows
    2. Columns
    3. Relationships
    4. Datatypes
    5. Primary Keys
    6. Foreign Keys
    7. Relational Database Management System
  4. Popular Databases
    1. Commercial Databases
    2. Popular Open Source Databases
  5. SQL Statements
    1. Database Manipulation Language (DML)
    2. Database Definition Language (DDL)
    3. Database Control Language (DCL)
II. Simple SELECTs
  1. Introduction to the Northwind Database
  2. Some Basics
    1. Comments
    2. Whitespace and Semi-colons
    3. Case Sensitivity
  3. SELECTing All Columns in All Rows
  4. Exercise: Exploring the Tables
  5. SELECTing Specific Columns
  6. Exercise: SELECTing Specific Columns
  7. Sorting Records
    1. Sorting by a Single Column
    2. Sorting By Multiple Columns
  8. Ascending and Descending Sorts
  9. Exercise: Sorting Results
  10. The WHERE Clause and Logical Operator Symbols
    1. Checking for Equality
    2. Checking for Inequality
  11. Exercise: Using the WHERE Clause to Check for Equality or Inequality
  12. Checking for Greater or Less Than
  13. Exercise: Using the WHERE Clause to Check for Greater or Less Than
  14. Checking for NULL
  15. Exercise: Checking for NULL
  16. WHERE and ORDER BY
  17. Exercise: Using WHERE and ORDER BY Together
  18. Checking Multiple Conditions with Boolean Operators
    1. AND
    2. OR
    3. Order of Evaluation
  19. Exercise: Writing SELECTs with Multiple Conditions
  20. The WHERE Clause and Logical Operator Keywords
    1. The BETWEEN Operator
    2. The IN Operator
    3. The LIKE Operator
    4. The NOT Operator
  21. Exercise: More SELECTs with WHERE
III. Advanced SELECTs
  1. Calculated Fields
    1. Concatenation
    2. Mathematical Calculations
    3. Aliases
  2. Exercise: Calculating Fields
  3. Aggregate Functions and Grouping
    1. Aggregate Functions
    2. Grouping Data
  4. Exercise: Working with Aggregate Functions
  5. Selecting Distinct Records
  6. Built-in Data Manipulation Functions
    1. Common Math Functions
    2. Common String Functions
    3. Common Date Functions
  7. Exercise: Data Manipulation Functions
IV. Subqueries, Joins and Unions
  1. Subqueries
  2. Exercise: Subqueries
  3. Joins
    1. Table Aliases
    2. Multi-table Joins
  4. Exercise: Using Joins
  5. Outer Joins
  6. Unions
    1. UNION ALL
    2. UNION Rules
  7. Exercise: Working with Unions
V. Inserting, Updating and Deleting Records (if time allows)
  1. Inserting Records
  2. Updating and Deleting Records

Learner Outcomes

  • Understand how MySQL works
  • Learn to use SQL to output reports with MySQL
  • Learn to modify MySQL data with SQL

Notes

This is an asynchronous online course offered through the third party vendor ed2go. This course can be taken on either a PC or Mac. The instructional materials required for this course are included in enrollment and will be available online. You will have three months to complete the course, and may complete the course earlier than the three month period.

Software Requirements:

PC: Windows 8 or later.
Mac: macOS 10.10 or later.
Browser: The latest version of Google Chrome or Mozilla Firefox is preferred. Microsoft Edge and Safari are also compatible.
Adobe Acrobat Reader
Software must be installed and fully operational before the course begins. Setup instructions can be found here.

Prerequisites

Basic computer skills and the ability to install and set up software on a computer.
Loading...
Please call our Customer Service Center at 704.330.4223 for information on the next available section.
Required fields are indicated by .