SQL ReferenceSQL FunctionsDebug FunctionsSLEEPOn this pageSLEEPsleepWarningThis function cannot be used in a production environment and will have serious implications.descriptionSyntaxBOOLEAN sleep(INT num)Sleeps the current session for num second(s)。examplemysql> select sleep(10);+-----------+| sleep(10) |+-----------+| 1 |+-----------+keywordssleep