educative.io

INTERVAL Return the index of the argument that is less than the first argument

INTERVAL Return the index of the argument that is less than the first argument.
This is mentioned in your site. But I have found something different, the answer is
MySQL INTERVAL() function returns the index of the argument that is more than the first argument.
MySQL INTERVAL() function - w3resource
Plz clarify

Hey @ahmed_anwar!

Thank you for reaching out to us. Yes, you are right that the written information about this function is incorrect, and this function returns the index of the argument that is more than the first argument. Thank you for pointing this out. We will fix this soon.

Happy learning!

1 Like