Question
What does the expression '555*if(now()=sysdate(),sleep(15),0)' in an SQL context typically do?
A) Checks if the current date matches the server date and sleeps for 15 seconds if true.
C) Causes an error due to incorrect syntax.
D) Always returns 0 because the condition is never true.
B) Multiplies 555 by the result of the IF condition that checks if the current time matches the system time.
Submit
Skip