MySQL implements increasing or decreasing the specified time interval for all times in the current data table (recommended) Blog
Simple examples of creating stored procedures, triggers and using cursors in Navicat (pictures and text) Blog