Oracle Error Message
ORA-29508: query derived from USING clause did not select a value of type string
Reason for the Error
The USING clause did not form a query that selects a value of the type specified by the term following the USING keyword.
Solution
Correct the USING clause.