There are several ways to fix the ORA-00932: inconsistent datatypes: expected - got CLOB exception.
Let's say you have a clobColumn in the clobTable with the CLOB datatype. You can use it in the WHERE clause of a select, update, or delete statement by one of the following ways.
1. Use the dbms_lob.compare method
SELECT * from clobTable
WHERE dbms_lob.compare(clobColumn, to_clob('<the value of the column>')) = 0
2. If the clobColumn value is less than 4000 characters, you can use the to_char function.
SELECT * from clobTable
WHERE to_char(clobColumn) = '<the value of the column>';
3. Use like instead of equal.
SELECT * from clobTable
WHERE clobColumn like '<the value of the column>';