MySQL Advanced Topics

MySQL Advanced Topics

1h 10mAdvanced2024-03-11

Authors

Bill Weinman

Bill Weinman

Tech Advocate, Entrepreneur, Programming Expert

Course details

Get more out of the world’s most popular RDMS. Learn to take full advantage of some of the more advanced features in MySQL, including views, transactions, triggers, and stored procedures. In this course, Bill Weinman helps you take your MySQL skills to the next level. Discover how to facilitate rapid lookups with indexes, search for data in a result set provided by another select statement with subselects, and put database-intensive operations into stored functions and procedures for faster, more modular, and more efficient programming. Plus, learn how to ensure data integrity with transactions and cross-reference distributed data with foreign key constraints. These techniques allow you to create more performant and stable databases for all your development projects, from web applications to data warehouses.

Skills covered

MySQLAdvancedDatabase DevelopmentDatabase ManagementOpen SourceSoftware Development

Concepts

Introduction

  • Take MySQL to the next level
  • Exercise files

Indexes

  • Why index
  • Creating an index
  • Showing indexes
  • Dropping indexes
  • Multi-column indexes

Views and Subqueries

  • Creating a subquery
  • Searching within a result set
  • Creating a view
  • Creating a joined view

Stored Routines

  • About stored routines in MySQL
  • Creating a stored function
  • Creating a stored procedure
  • Language extensions

Transactions

  • What are transactions
  • Data integrity
  • Performance

Triggers

  • Updating with triggers
  • Preventing updates
  • Example - Timestamps

Foreign Keys

  • About foreign keys
  • Creating foreign key constraints
  • Deleting and changing foreign keys

Conclusion

  • Thank you
40,000 Toman