Oracle Solution for Error ora-30379

Solution for Oracle Error ORA-30379

ORA-30379: query txt not specified

What triggered the Error:

You have attempted use DBMS_MVIEW.EXPLAIN_REWRITE() API using an empty query text argument

What should we do to fix it:

Input a valid SQL query