I have a query like this :
Select office_name, ofc_code
from table1
where ofc_code in (select ofc_institution from table2 where id ='2')
If i run this i get an error:
Operator does not exist:numeric = character varying
Hint : no operator matches the given name and argument types
In the above query: ofc_code is numeric and ofc_institution is a character varying