
MySQL 5 Development (Part 2)
This MySQL 5 Development Part 2 course continues the introduction to MySQL we began with Part 1. But in Part 2, we now begin working with commands that are used to change the contents of the tables in our database. We also explore various ways of building more complex queries, including command options that allow us to address more than one table in a single command. While this is still an introductory course, we are now exploring tools that let us handle more complex operations and build more sophistication into our MySQL database systems. The topics we cover in Part 2 include inserting/updating/deleting data, subqueries, joins, transactions, table and row locking, stored procedures and functions, triggers and events, indexes, and more. We have tried to keep the examples in the lessons as simple as possible to illustrate them most effectively, but the further study exercises are more realistic as to how these tools are used in practice. To begin learning today, simply click on the movie links.
Course content
Introduction4 lessons
Configuration3 lessons
Manipulating Data8 lessons
- Data Manipulation Basics3:161 credit or ad
- Warnings and Errors7:391 credit or ad
- SQL Modes6:401 credit or ad
- Changing Syntax Interpretation6:561 credit or ad
- Elevating Warnings to Errors7:021 credit or ad
- Interpreting Error Messages5:451 credit or ad
- Note Warnings4:231 credit or ad
- System Error Warnings5:241 credit or ad
Inserting Data8 lessons
- Inserting Data6:191 credit or ad
- Inserting Data Archaic Syntax4:291 credit or ad
- INSERT Demonstrations7:391 credit or ad
- Default Values on Insert5:011 credit or ad
- AUTO_INCREMENT on Insert5:131 credit or ad
- AUTO_INCREMENT Issues6:061 credit or ad
- LAST_INSERT_ID Function7:041 credit or ad
- Common INSERT Errors4:471 credit or ad
Deleting Data5 lessons
Updating Data5 lessons
Other MySQL DML Commands7 lessons
Importing Data8 lessons
- Importing Data7:291 credit or ad
- Basic Import Demonstrations6:351 credit or ad
- Importing Non-Tab Formats6:581 credit or ad
- Skipping Header Lines on Import4:131 credit or ad
- Changing Import Column Order7:141 credit or ad
- Converting Data on Import pt. 14:351 credit or ad
- Converting Data on Import pt. 24:471 credit or ad
- Importing on the Shell Command Line6:331 credit or ad
Deriving New Tables7 lessons
Multi-Table Queries5 lessons
Subqueries14 lessons
- Subquery Basics6:161 credit or ad
- Shape of the Result7:491 credit or ad
- Guaranteeing a Single Row5:251 credit or ad
- Scalar Subqueries4:011 credit or ad
- Table Subqueries4:141 credit or ad
- Columnar Subqueries5:401 credit or ad
- Row Subqueries3:401 credit or ad
- EXISTS Subqueries pt. 13:241 credit or ad
- EXISTS Subqueries pt. 23:511 credit or ad
- Correlated vs Non-Correlated4:351 credit or ad
- Nesting to Multiple Levels2:571 credit or ad
- Building Queries in Layers5:031 credit or ad
- Addressing the Same Table Twice5:181 credit or ad
- When to Use Subqueries4:121 credit or ad
Joins14 lessons
- The FROM Clause3:381 credit or ad
- Join Basics pt. 17:551 credit or ad
- Join Basics pt. 26:111 credit or ad
- Inner Join Syntax7:031 credit or ad
- Basic Inner Join Demos5:591 credit or ad
- Inner Join Aggregation6:021 credit or ad
- The ON Clause5:091 credit or ad
- The USING Option5:511 credit or ad
- Natural Joins3:511 credit or ad
- Outer Joins4:511 credit or ad
- Join Criteria Options4:121 credit or ad
- Multiple Table Joins6:241 credit or ad
- Self Joins7:021 credit or ad
- Problems Joins Cannot Solve3:591 credit or ad
Views10 lessons
- What a View Is4:131 credit or ad
- Uses of Views4:521 credit or ad
- Basic Syntax of a View6:051 credit or ad
- View Column Names5:411 credit or ad
- Updatable Views5:231 credit or ad
- Insertable Views5:221 credit or ad
- View Consistency3:191 credit or ad
- View Viability3:071 credit or ad
- Altering or Dropping a View5:081 credit or ad
- View Metadata7:461 credit or ad
Multiple Table DML Operations4 lessons
Transactions and Locking16 lessons
- Transaction Basics7:051 credit or ad
- Transactions in MySQL4:231 credit or ad
- AUTOCOMMIT Mode6:501 credit or ad
- Transaction Commands7:281 credit or ad
- Savepoints5:081 credit or ad
- Isolation6:411 credit or ad
- Isolation Levels8:061 credit or ad
- Transaction Demos5:431 credit or ad
- Locking Basics6:451 credit or ad
- Locking in MySQL6:261 credit or ad
- Explicit Row Locking with InnoDB7:201 credit or ad
- Row Locking Demos7:121 credit or ad
- Explicit Table Locking8:291 credit or ad
- Table Locking Demos6:081 credit or ad
- Deadlock Resolution4:511 credit or ad
- Implicit Commits7:111 credit or ad
Stored Routine Basics10 lessons
- Procedures and Functions5:531 credit or ad
- Why Use Stored Routines7:271 credit or ad
- Basic Create Function Syntax6:401 credit or ad
- Invoking a Function4:231 credit or ad
- Basic Create Procedure Syntax4:501 credit or ad
- Invoking a Procedure4:091 credit or ad
- Database Association5:021 credit or ad
- Stored Routine Metadata7:471 credit or ad
- Where They Are Stored6:071 credit or ad
- Dropping Stored Routines5:281 credit or ad
Stored Routine Programming23 lessons
- Compound Statements6:551 credit or ad
- Compound Statement Demos5:091 credit or ad
- Procedure Parameter Types6:081 credit or ad
- IN Parameters4:471 credit or ad
- INOUT Parameters4:291 credit or ad
- OUT Parameters6:481 credit or ad
- Declaring Local Variables4:381 credit or ad
- Assigning Values to Variables5:451 credit or ad
- Variable Scope7:051 credit or ad
- Conditional Blocks6:381 credit or ad
- IF Block Demos6:071 credit or ad
- CASE Block Demos6:541 credit or ad
- Iterative Blocks6:191 credit or ad
- LOOP Block Demos5:361 credit or ad
- REPEAT Block Demos7:151 credit or ad
- WHILE Block Demos3:471 credit or ad
- The LEAVE Statement6:411 credit or ad
- The ITERATE Statement8:031 credit or ad
- More We Can DECLARE7:481 credit or ad
- Declaring Conditions2:451 credit or ad
- Declaring Error Handlers6:081 credit or ad
- Declaring Cursors7:201 credit or ad
- Limitations on Cursors8:051 credit or ad
Triggers9 lessons
- Trigger Basics5:311 credit or ad
- Uses for Triggers6:151 credit or ad
- Trigger Syntax6:011 credit or ad
- Trigger Examples6:391 credit or ad
- Exploring Triggers5:451 credit or ad
- Trigger Metadata6:021 credit or ad
- Dropping Triggers6:261 credit or ad
- User Accounts for Triggers4:351 credit or ad
- Trigger Limitations7:311 credit or ad
Events7 lessons
Indexes9 lessons
- Index Basics6:361 credit or ad
- Defining Indexes for a Table5:441 credit or ad
- Adding Indexes to a Table5:591 credit or ad
- Dropping Indexes from a Table3:351 credit or ad
- Compound Indexes3:381 credit or ad
- Prefix Length Indexes4:171 credit or ad
- Covering Indexes4:031 credit or ad
- FULLTEXT Indexes pt. 16:151 credit or ad
- FULLTEXT Indexes pt. 25:011 credit or ad