In this lesson, you learned how to use stored routines in MySQL. In the next lesson, you will learn how to use triggers to execute SQL procedures automatically when certain database events take place.