MySQL® is the open source community's most popular Relational Database Management System (RDBMS) offering, and is a key part of LAMP – Linux™, Apache™, MySQL®, PHP/Perl/Python®. Many Fortune 500 companies adopt MySQL to reap the benefits of an open source, platform-independent RDMS, such as simplifying conversion from other platforms and lowering database Total Cost of Ownership by 90%. This class encourages the student to explore database fundamentals, as well as MySQL features. Students learn the basics of MySQL use and the programming of stored routines. This course covers MySQL 8.0.
Audience
Application and web developers.
Prerequisites
Prior experience installing software and programming in any language, such as HTML, is recommended but not required
Course Outline
An introduction to relational databases and SQL
- An introduction to client/server systems
- An introduction to the relational database model
- An introduction to SQL and SQL-based systems
- The SQL statements
- How to use SQL from an application program
How to use MySQL Workbench and other development tools
- An introduction to MySQL Workbench
- How to use MySQL Workbench to run SQL statements
- How to use the MySQL Reference Manual
- How to use the MySQL Command Line Client
How to retrieve data from a single table
- An introduction to the SELECT statement
- How to code the SELECT clause
- How to code the WHERE clause
- How to code the ORDER BY clause
- How to code the LIMIT clause
How to retrieve data from two or more tables
- How to work with inner joins
- How to work with outer joins
- Other skills for working with joins
- How to work with unions
How to insert, update, and delete data
- How to create test tables
- How to insert new rows
- How to update existing rows
- How to delete existing rows
How to code summary queries
- How to work with aggregate functions
- How to group and summarize data
- How to code aggregate window functions
How to code subqueries
- An introduction to subqueries
- How to code subqueries in the WHERE clause
- How to use the ALL keyword
- How to code subqueries in other clauses
- How to work with complex queries
- How to work with common table expressions
How to work with data types
- The data types
- How to convert data
How to use functions
- How to work with string data
- How to work with numeric data
- How to work with date/time data
- Other functions you should know about
How to create databases, tables, and indexes
- How to work with databases
- How to work with tables
- How to work with indexes
- How to use MySQL Workbench
- How to work with character sets and collations
- How to work with storage engines
How to create views
- An introduction to views
- How to work with views
Language skills for writing stored programs
- An introduction to stored programs
- How to write procedural code
How to use transactions and locking
- How to work with transactions
- How to work with concurrency and locking
How to create stored procedures and functions
How to code stored procedures
- How to code stored functions
- How to use Workbench with procedures and functions