MySQL Tutorial/Miscellaneous Functions/SLEEP
SLEEP(duration): Sleeps (pauses) for the number of seconds given by the duration argument, then returns 0.
If SLEEP() is interrupted, it returns 1.
select SLEEP(100);
If SLEEP() is interrupted, it returns 1.
select SLEEP(100);