why command getting sleep in mysql code example Example: mysql sleep SELECT SLEEP(5); -- 5 seconds DO SLEEP(5); -- same, output available