MySQL does not recognize the "ANY" clause with array
Used "IN" clause in WHERE condition instead of ANY.

Added some test cases too.